Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: FTP->SFTP directory listing

by choroba (Cardinal)
on Oct 21, 2016 at 14:18 UTC ( [id://1174460]=note: print w/replies, xml ) Need Help??


in reply to FTP->SFTP directory listing

Your question (and username) sounds similar to How to get directory listing using Net::SFTP::Recursive asked yesterday. I fear the answers won't be any different.

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Replies are listed 'Best First'.
Re^2: FTP->SFTP directory listing
by gouldopfl (Novice) on Oct 23, 2016 at 22:46 UTC
    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.

      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?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-20 00:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found