我使用PHP中的循環提供64k塊中的ZIP文件(但問題會隨任何服務器端語言出現)。ZIP文件被IE損壞
當用FF提取文件時,一切都很順利。
當使用IE7獲取文件時,一些位被損壞。這導致錯誤消息關於錯誤的CRC(哈希),並且一些解壓縮的文件最終被破壞。發送
的標題如下:
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
有沒有人有這個地方的腐敗來自線索?
您如何定義64k塊? – 2009-10-13 13:02:48