$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); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::FTP Mget
by davidrw (Prior) on Oct 11, 2005 at 15:12 UTC | |
by mikeock (Hermit) on Oct 11, 2005 at 15:33 UTC | |
by mikeock (Hermit) on Oct 11, 2005 at 15:53 UTC | |
by davidrw (Prior) on Oct 11, 2005 at 16:22 UTC | |
by mikeock (Hermit) on Oct 12, 2005 at 20:03 UTC | |
|
Re: Net::FTP Mget
by Anonymous Monk on Oct 11, 2005 at 15:02 UTC |