in reply to File Download

Try leaving the script, change the way its accessed.

eg
http://blah/cgi-bin/filedl.pl/myfile.txt
will prompt to save as "myfile.txt".

If you want you can still use arguments
http://blah/cgi-bin/filedl.pl/myfile.txt?file=myfile.txt

Replies are listed 'Best First'.
RE: Re: File Download
by httptech (Chaplain) on Apr 26, 2000 at 16:36 UTC
    You don't even need to include the file name as an argument, just get it from the $ENV{'PATH_INFO'} variable. This gives you any extra text following the script name in the URL.