Hi All,
I'm new to perl but I want to create ftp uploads for users via the web. (it has to be ftp as the files will be large)
I am using Net::FTP and the following...
$remotefile = "c:\\blah.zip";
$localfile = "blah.zip";
$ftp->put($remotefile, $localfile) or die "Cannot put file.\n";
The script looks for the file to 'put' on the web server rather than the users machine...Does anybody have any ideas why?
I have looked through the threads and haven't seemed to find a definitive answer...
If anybody has a html form/perl ftp upload example to point me in the right direction, that would be great!
Thankyou in Advance for your help!
P
I'm new to perl but I want to create ftp uploads for users via the web. (it has to be ftp as the files will be large)
I am using Net::FTP and the following...
$remotefile = "c:\\blah.zip";
$localfile = "blah.zip";
$ftp->put($remotefile, $localfile) or die "Cannot put file.\n";
The script looks for the file to 'put' on the web server rather than the users machine...Does anybody have any ideas why?
I have looked through the threads and haven't seemed to find a definitive answer...
If anybody has a html form/perl ftp upload example to point me in the right direction, that would be great!
Thankyou in Advance for your help!
P