Solved

Downloading .gz from FreeBSD server

Posted on 1998-01-30
3
233 Views
Last Modified: 2013-12-23
The server where my web site lives runs FreeBSD (don't know version info but I think its current). Heres the problem: Files on my web site with .gz extensions download corrupted. I have checked the file on the server thru telnet and it isn't corrupted there. Now, before you say its my client, I can successfully download files with this same extension from numerous other sites, both http and ftp.

Also strange is that on my site when I click on the link to download I get a screen of binary garbage on my browser, if I shift/click I get the download but its corrupted. On other sites, downloading identical files, I just click and the download comes through perfectly. I've tried 3 different browsers, same results, works on others, not on mine. For this reason I think the server is the culprit. I have asked the server admin but he doesn't know what it could be. Can anyone point us in the right direction?
0
Comment
Question by:capttom
3 Comments
 
LVL 4

Expert Comment

by:jlms
ID: 1583109
Did you try to use an ftp command?
0
 

Author Comment

by:capttom
ID: 1583110
My server doesn't have anonymous FTP space that I can use. I don't know how to ftp straight from the same directory. For instance: http://www.dragondata.com/~storm/files/flud501e-oc_tcl.tar.gz
What would the ftp be? I've tried simply replacing http with ftp, get "file not found"
0
 
LVL 2

Accepted Solution

by:
mlev earned 100 total points
ID: 1583111
Your server probably sends the file as text/plain.
Check your httpd's configuration files (srm.conf if it's Appache) and make sure it contains something like "AddEncoding x-gzip gz".

As for FTP, again check the configuration files for a line like "UserDir". If it says e.g. public_html, then you have to use
ftp://www.dragondata.com/~storm/public_html/flud501e-oc_tcl.tar.gz

0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question