radagast has asked for the wisdom of the Perl Monks concerning the following question:
This is passed to a perl script using CGI.pm and I do this:<input type="file" value="starting value">
The perl references I've read said that all I have to do next is to read from $file. However, this only works when I browse from the same machine the script is on, because it sees the path locally as /path/to/my/file. When I try this from Windows, the path is passed as C:\dos\path\to\file. What I need to know is how to actually have the file upload? Any suggestions, or is this something I may have to do in Javascript?$file = $query->param('upload_file_name');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Uploading via HTML/Using CGI.pm
by t0mas (Priest) on Oct 17, 2000 at 13:29 UTC | |
|
RE: Uploading via HTML/Using CGI.pm
by agoth (Chaplain) on Oct 17, 2000 at 13:51 UTC | |
|
Re: Uploading via HTML/Using CGI.pm
by Fastolfe (Vicar) on Oct 17, 2000 at 17:03 UTC | |
|
(Ovid) Re: Uploading via HTML/Using CGI.pm
by Ovid (Cardinal) on Oct 17, 2000 at 18:32 UTC | |
by merlyn (Sage) on Oct 17, 2000 at 18:56 UTC | |
|
Re: Uploading via HTML/Using CGI.pm
by AgentM (Curate) on Oct 17, 2000 at 19:22 UTC | |
|
Re: Uploading via HTML/Using CGI.pm
by radagast (Sexton) on Oct 19, 2000 at 13:27 UTC |