I think you'll get more of it to work if you change that line:
toprint "Content-Disposition: inline; filename=$filename\n";
print "Content-Disposition: attachement; filename=$filename\n";
cause, after all, you want to download the file, and not view it inline.
In reply to Re: download hidden files
by Chady
in thread download hidden files
by hopalong
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |