download ZIP files are corrupted in IE but not in Firefox
-
Wednesday, December 23, 2009 1:14 PM
I´m trying to download ZIPs
http://www.ibge.gov.br/concla/pub/revisao2007/PropCNAE20/CNAE20_Subclasses_EstruturaDetalhada.zip
http://www.ibge.gov.br/concla/pub/revisao2007/PropCNAE20/CNAE20_EstruturaDetalhada.zip
Are XLS files inside the ZIP
In IE8/Win7x64 and XPSP3/IE7 the files are downloading corrupetd but in Firefox 2 and 3 everything is OK and the downlaods are 100% valid
Using fiddler2 i cannot see anything strange, only a chunked encoding and in "raw" mode the PK signature does not appears in the file structure
In IE6 there is an known hotfix
I´m behind a FortiGate 310B (Foertinet.com) and i´ve enabled feature called chunkedbypass but makes no diff, AV and WebFilter are not intercepting the request
All Replies
-
Wednesday, December 23, 2009 10:34 PMHi,
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
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!
- Proposed As Answer by doctoroftypeMVP Tuesday, May 01, 2012 11:59 PM
-
Tuesday, August 31, 2010 5:11 PMHow? IN the Server? IN the Client?
-
Monday, November 01, 2010 4:36 PMThis 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 PMIt'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
software supports restoring .zip archives more than 2GB


