Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: FTP->SFTP directory listing

by gouldopfl (Novice)
on Oct 23, 2016 at 22:46 UTC ( [id://1174567]=note: print w/replies, xml ) Need Help??


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

I am not a Perl programmer. This program is used in a shell script for a process that I am responsible for but was written long before my time of taking over this process. So to be clear, I would still use the NET::SFTP::Recursive module, but which method would I call with the information you presented? Best Regards.

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

    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.

      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)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1174567]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-19 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found