Hi

How can I download a file any type image,wav or document in download format if I have the http://location with perl

Say the location file is present can be

http://www.abc.com/a.gif
http://www.abc.com/a.doc

print "Content-Type:application/x-download\n";
print "Content-Disposition:attachment;filename=$fileName\n\n";

Thanks
Anish


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to