# 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.
In reply to Re^5: Net::SSH2 list files
by salva
in thread Net::SSH2 list files
by WhiskeyJack
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |