in reply to How to print list using Net::SFTP::Foreign
According to Net::SFTP::Foreign, $sftp->ls($remote, %opts):
Returns a reference to a list of entries. Every entry is a reference to a hash with three keys: ...Thus, your
should not have the @ in front of $remotefiles.# List remote directory contents @$remotefiles=$sftp->ls($remotedir);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to print list using Net::SFTP::Foreign
by TCM (Acolyte) on Oct 07, 2013 at 13:47 UTC |