There's a few points here:print "Content-type: archive/zip\n" . "Content-Disposition: attachment; filename=$filename\n\n"; binmode STDOUT; $zip->writeToFileHandle( \*STDOUT, 0 );
In reply to Re: Sending a file through STDOUT using HTTP
by Errto
in thread Sending a file through STDOUT using HTTP
by hcubed
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |