in reply to Net::SFTP listing problem
my $ls = $sftp->ls or die "unable to retrieve directory: " . $sftp->er +ror; my @long = map $_->{longname}, @$ls; print Dumper(\@long);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::SFTP listing problem
by sunnyfedora99 (Novice) on Oct 05, 2011 at 14:35 UTC | |
by runrig (Abbot) on Oct 05, 2011 at 14:53 UTC | |
by sunnyfedora99 (Novice) on Oct 05, 2011 at 14:47 UTC |