in reply to Net::FTP put failing silently?
my $remote_file = $ftp->put($name) || die $ftp->message;
I've been told || does not get processed the same as "or". Try changing the line to my $remote_file = $ftp->put($name) or die $ftp->message; . That might show that your FTP put isn't really failing silently.
Are you sure you're in the correct directory for the listing as well?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Net::FTP put failing silently?
by ikegami (Patriarch) on Aug 06, 2008 at 21:04 UTC | |
Re^2: Net::FTP put failing silently?
by welchavw (Pilgrim) on Aug 06, 2008 at 20:51 UTC | |
by spivey49 (Monk) on Aug 06, 2008 at 20:59 UTC | |
by welchavw (Pilgrim) on Aug 06, 2008 at 21:04 UTC | |
by spivey49 (Monk) on Aug 06, 2008 at 21:07 UTC | |
by ikegami (Patriarch) on Aug 06, 2008 at 21:11 UTC |