Proposed download ZIP files are corrupted in IE but not in Firefox

All Replies

  • Wednesday, December 23, 2009 10:34 PM
     
     
    Hi,

    Do you have the fully qualified uri's. The url's are for folders in which no default start page has been set.

    When you navigate to those folders the first response back should be the default pages' markup content. I am getting the Download prompt from a 200 response which is unexpected if the default page had been set.

    Regards.
    Rob^_^
  • Monday, April 26, 2010 11:55 AM
     
     

    I am having the same problem (Win7 x64 IE .zip are corrupt but same one downloaded with Firefox 3 are fine).

    Has anyone found a cause or solution for this?

  • Tuesday, August 31, 2010 4:02 PM
     
     Proposed

    This is months later but I thought I'd post a solution anyway.

    The problem is because your Content-Encoding is gzip. IE will not decompress the response if the Content-Type is application/zip. I ended up turning off compression for all zip files and it works now.

    Hope that helps!

     

  • Tuesday, August 31, 2010 5:11 PM
     
     
    How? IN the Server? IN the Client?
  • Monday, November 01, 2010 4:36 PM
     
     
    This indeed works. I was Content-Encoding my javascript using gzip via my htaccess. As soon as I stopped gzip encoding on the site, the content-type application/zip responses wroked fine. Thanks for the post!!!
  • Monday, November 01, 2010 5:12 PM
     
     
    It's a server-side setting.  For further reading, look up the "Accept-Encoding" HTTP header.
  • Tuesday, May 01, 2012 11:40 PM
     
     

    You may recover corrupted .zip files owing to program below

    http://www.zip.fixtoolbox.com 

    software supports restoring .zip archives more than 2GB