$ftp->dir or die "cannot list dir contents\n"; foreach my $file2(@lines){ next if($file2 =~ m/^(d|l)/); # Skips all directorie +s or symbolic links $file2 =~ s/^(.+ )(.+?)$/$2/; # Return jsut the file +name from the string $ftp->get($file2); }
In reply to Net::FTP Mget by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |