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

stevieb already posted a reply with code, so maybe you can try that code and maybe tell us how that code does not apply to your situation.

Note that this site is mostly a site for Perl programmers or people wanting to learn about Perl. Usually we don't write code on request, so if the code already posted doesn't accomplish what you need, you will have to become a Perl programmer.

Replies are listed 'Best First'.
Re^4: FTP->SFTP directory listing
by gouldopfl (Novice) on Oct 24, 2016 at 14:10 UTC
    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?

      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)