Hi,
I have the following codeI was curious is there a way to call "ls" with the "-ltr" options? Basically I want to use SFTP via Perl and pick up the oldest file each time. I've searched quite a bit on the internet with no good examples as of yet.$sftp->ls($RemoteBaseDirectory . $RemoteOutgoingDirectory, sub { $Remo +teFileList[$Count++] = $_[0]->{filename} } )
Thanks so much in advance!
In reply to Perl SFTP question? by goochalba
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |