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?
In reply to Re: Net::FTP put failing silently?
by spivey49
in thread Net::FTP put failing silently?
by welchavw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |