Re: Downloading file AGAIN.

2001-10-15 Thread $Bill Luebkert
Morse, Richard E wrote: I'm not sure about it cutting off, but handling the naming issue of the download is something that I've dealt with before -- basically, most browsers are going to save the file by the name of the page they are getting it from. The trick is to fool the browsers into

Re: Downloading file AGAIN.

2001-10-15 Thread Rodney Wines
http://mysite.com/myscript.cgi/path/to/my/file?any=extra+cgi+params --^ When using PATH_INFO, you use / instead of ? to start the arg list: http://mysite.com/myscript.cgi/relativepathtomy/script/any=extra+cgi+params Definately yes and no ...

Re: Downloading file AGAIN.

2001-10-15 Thread $Bill Luebkert
Rodney Wines wrote: http://mysite.com/myscript.cgi/path/to/my/file?any=extra+cgi+params --^ When using PATH_INFO, you use / instead of ? to start the arg list: http://mysite.com/myscript.cgi/relativepathtomy/script/any=extra+cgi+params

RE: Downloading file.

2001-10-12 Thread Alexei Danchenkov
Hi, Krung, Apparently you didn't sent the actual file, only the header. You need to read it from the file handle and print it out to your output stream. I assume this must be: use constant BUFFERSIZE = 65536; binmode $filehandle; binmode OUTPUT; # This is your OUTPUT stream while ( read (

RE: Downloading file.

2001-10-12 Thread Krung Saengpole
My script works!!! but have to modify a little. Thank you very much. Krung. -- Original Message -- From: Alexei Danchenkov [EMAIL PROTECTED] Date: Fri, 12 Oct 2001 15:54:51 +0400 Hi, Krung, Apparently you didn't sent the actual file, only the header. You