On Jul 7, 2005, at 9:00 AM, Neville Hodder wrote:
I am in the process of learning how to use the CGI.pm module but can
not
find a method that will allow me to simply choose a 'remote' file. I
need to be able to return the value "path+filename" of a file that the
user has browsed to using something like the standard HTML form type:
<P><INPUT type="file" value="filename"></P>
I do NOT want to upload a file using $query->filefield, instead I want
the user to be able to select a file using the standard browse dialogue
and then the CGI script return that selected filename for further use.
Thanks
Nev
You can use Firefox for the client... It will send the name and path of
the file, but won't upload it ;)
And, while not positive, I think you can do this with CGI.pm. Try
setting the max upload to 1 or 2 k and see what happens. Use
"File::Basename" to get the name and path of the remote file.
Kindest Regards,
--
Bill Stephenson
417-546-8390
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>