Forum Moderators: coopster
I tried:
- recompressing the zip
- other application for zip
- downloading the file with ftp and checked the file is not corrupt online.
- in Firefox all zip's download fine and are not corrupt, so file seems good.
- searched for 2 hours only to find others with this issue, and it's not resolved by far.
see:
<snip>
can anyone help me out?
[edited by: dreamcatcher at 7:17 pm (utc) on Aug. 12, 2008]
[edit reason] No urls please! [/edit]
The wierd thing is that I have a page with 4 zip-files. 2 download fine in IE7, the other 2 become corrupt.
[edited by: dreamcatcher at 12:43 pm (utc) on Aug. 13, 2008]
[edit reason] Rant removed. Keep on topic. [/edit]
<?php
header('Content-Disposition: inline; filename="com_pages_and_items_v1-1-0_j1-0-x.zip"');
header('Content-length: "' . filesize(dirname(__FILE__).'/_extensies/com_pages_and_items_v1-1-0_j1-0-x.zip').'"');
header('Content-Type: "application/zip"');
header('Content-Disposition: attachment; filename="com_pages_and_items_v1-1-0_j1-0-x.zip"');
readfile(dirname(__FILE__).'/_extensies/com_pages_and_items_v1-1-0_j1-0-x.zip');
?>
is there a hack to make ie7 understand the mime-type?
What I realy find puzzling is that only SOME zip-files become corrupt, so that makes it the more difficult to pin-point this bug.