in reply to Re: Sending a file through STDOUT using HTTP
in thread Sending a file through STDOUT using HTTP
Unfortunately the browser is still seeing it as a "httpd/unix-directory" and not getting a filename. I tried both with and without quotes on the filename. Any other ideas? Stupid MIME types...$zip->addTree( $path, '' ); print "Content-type: application/zip\n" . "Content-Disposition: attachment;filename=\"$filename\"\n\n"; binmode STDOUT; $zip->writeToFileHandle( \*STDOUT, 0 );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Sending a file through STDOUT using HTTP
by hcubed (Initiate) on Feb 18, 2005 at 16:28 UTC | |
|
Re^3: Sending a file through STDOUT using HTTP
by Errto (Vicar) on Feb 18, 2005 at 17:34 UTC | |
by hcubed (Initiate) on Feb 18, 2005 at 18:07 UTC |