in reply to Re^4: Net::SSH2 list files
in thread Net::SSH2 list files
# untested again! my $sftp = $ssh2->sftp; my $dh = $sftp->opendir($dir); while (my %e = $dh->read) { print "$e{name}\n"; }
Net::SFTP::Foreign does not require IO::Pty when you use it with the Net::SSH2 backend.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Net::SSH2 list files
by WhiskeyJack (Initiate) on Aug 08, 2012 at 12:56 UTC | |
by salva (Canon) on Aug 08, 2012 at 13:04 UTC |