Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Doing an 'ls' in SFTP:Foreign

by Illuminatus (Curate)
on Feb 15, 2013 at 18:18 UTC ( #1018939=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Doing an 'ls' in SFTP:Foreign
in thread Doing an 'ls' in SFTP:Foreign

I haven't used these packages, but the man page for Net::SFTP says ls returns a list of entries, while Net::SFTP::Foreign says it returns a reference to a list of entries.

fnord


Comment on Re^3: Doing an 'ls' in SFTP:Foreign
Re^4: Doing an 'ls' in SFTP:Foreign
by StarkRavingCalm (Sexton) on Feb 15, 2013 at 20:35 UTC

    Maybe Salvo knows how to format the line to work with Foreign?

      Have you read the documentation to Net::SFTP::Foreign? It's pretty clear. 'ls' returns a reference to a list of entries. Do you know what that means? Do you need to read perlref and/or perlreftut?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2015-07-03 23:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls