Solved

Downloading .gz from FreeBSD server

Posted on 1998-01-30
3
235 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Suggested Solutions

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
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.

756 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