You have to glob the wildcard explicitly at the local site. If I understand your question correctly, you want
for my $file ( glob "$myfile*" ) { $ftp->put( $file ) or die "PUT $file failed: $!\n"; }
Makeshifts last the longest.
In reply to Re: using Net::FTP to get a file without a full name
by Aristotle
in thread using Net::FTP to get a file without a full name
by tariqahsan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |