Now to understand this problem it may take a little technical know how.
First of all this isn't unique to me - this issue happens for everyone.
Alright so basically, I'm trying to serve a zip file - filled with other zip files to the user and chrome just sticks on "starting" until the inevitable "network error" message.
Here's my headers -
header('Content-type: application/octet-stream');
header('Content-disposition: attachment; filename="'. $zipname .'"');
header('Content-Transfer-Encoding: binary');
header('Content-Length: ' . filesize($zipname));
here's how i'm streaming it -
ob_end_flush();
$fp = fopen($zipname, "r");
if($fp != FALSE)
{
fpassthru($fp);
fclose($fp);
}
Language is PHP
Somethings to note;
Works fine with Firefox and Internet Explorer