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