You need to specify the content type as application/zip:
print "Content-type: application/zip\n" . "Content-Disposition: attachment;$filename\n\n";
Ted Young
($$<<$$=>$$<=>$$<=$$>>$$) always returns 1. :-)In reply to Re: Sending a file through STDOUT using HTTP
by TedYoung
in thread Sending a file through STDOUT using HTTP
by hcubed
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |