in reply to Re^3: FTP->SFTP directory listing
in thread FTP->SFTP directory listing

The code that is posted will probably work fine. What I'm not sure of is what method if NET::SFTP::Recursive to use or is this a shell command to use after getting a directory listing?

Replies are listed 'Best First'.
Re^5: FTP->SFTP directory listing
by Corion (Patriarch) on Oct 24, 2016 at 14:17 UTC

    What stevieb posted is a complete, self-contained program which you should be able to run as

    perl -w 1174371.pl

    (provided you saved the file as 1174371.pl)