in reply to using Net::FTP to get a file without a full name
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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: using Net::FTP to get a file without a full name
by tariqahsan (Beadle) on Aug 24, 2004 at 15:26 UTC | |
by iburrell (Chaplain) on Aug 24, 2004 at 16:59 UTC |