in reply to Re^2: Net::SSH2 list files
in thread Net::SSH2 list files
# untested! my $sftp = $ssh2->sftp; my $dh = $sftp->opendir($dir); while (my %entries = $dh->read) { print "$_\n" for keys %entries; }
BTW, Net::SFTP::Foreign works with ActiveState and Strawberry versions of perl.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Net::SSH2 list files
by WhiskeyJack (Initiate) on Aug 08, 2012 at 12:41 UTC | |
by salva (Canon) on Aug 08, 2012 at 12:46 UTC | |
by WhiskeyJack (Initiate) on Aug 08, 2012 at 12:56 UTC | |
by salva (Canon) on Aug 08, 2012 at 13:04 UTC |
In Section
Seekers of Perl Wisdom