Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^3: Perl cgi script for directory listing and file downloading!! Problem: Unable to download the fileby Corion (Patriarch) |
on Nov 05, 2014 at 11:52 UTC ( [id://1106186]=note: print w/replies, xml ) | Need Help?? |
This is a browser configuration issue. I guess that, for example, /www/download might be a good place for your files. You need to learn about how your webserver maps URLs to files and appropriately configure the webserver. First get the URL download working without your script by going directly to the URL with your browser. Then you can generate the URLs from your script.
In Section
Seekers of Perl Wisdom
|
|