I am delivering a ZIP file in 64k fragments using a loop in PHP (but the problem would have occurred with any language on the server side).
When extracting a file using FF, everything goes fine.
When extracting a file with IE7, some bits become damaged. This results in an error message regarding the wrong CRC (hash), and some unpacked files will eventually get corrupted.
Headers sent:
Expires: 0
Cache-Control: must-revalidate, post-check=0, pre-check=0
Pragma: public
Content-Description: File Transfer
Content-Disposition: attachment; filename="671fb8f80f5e94984c59e61c3c91bb70.zip";
Content-Transfer-Encoding: binary
Vary: Accept-Encoding
Content-Encoding: gzip
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: application/octet-stream
Does anyone have a clue where this corruption comes from?
source
share