in reply to download hidden files
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.
|
|---|