ultranerds has asked for the wisdom of the Perl Monks concerning the following question:
I then get this error:my $ftps = Net::FTPSSL->new('mysite.org', Port => 21, Encryption => 'E', Debug => 0, Timeout => 3600) or die "Can't open FTP"; $ftps->login("xxxxx",'xxxx') or die "Cannot login ", $ftps->message; $ftps->binary(); $ftps->cwd("/public_html/cgi-bin/links/admin/IMPORT") or die "Cannot c +hange working directory ", $ftps->message; print "Currently in: " . $ftps->pwd(). "\n"; $ftps->put("/home/user/public_html/cgi-bin/hotels/admin/com.csv") or d +ie "Cannot upload ", $ftps->message;
Cannot upload 555 Unexpected EOF on Command Channel [0] (0, 1) () at export-csv-other-sites.cgi line 284.
Line 284 is:
$ftps->put("/home/user/public_html/cgi-bin/hotels/admin/com.csv") or die "Cannot upload ", $ftps->message;
I've updated to the latest version of Net::FTPSSL, but the problem still exists.
Any ideas? :)
Thanks
Andy
- Comment on Weird Net::FTPSSL error
- Select or Download Code
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Weird Net::FTPSSL error
by stevieb (Canon) on Apr 09, 2016 at 12:12 UTC | |
by ultranerds (Hermit) on Apr 10, 2016 at 06:08 UTC | |
by Mr. Muskrat (Canon) on Apr 11, 2016 at 15:34 UTC |