Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: In Perl, how to check for the remote folder existence using sftp command? Cant use Net:SFTP

by runrig (Abbot)
on May 25, 2016 at 14:44 UTC ( [id://1164079]=note: print w/replies, xml ) Need Help??


in reply to In Perl, how to check for the remote folder existence using sftp command? Cant use Net:SFTP

Use Net::SFTP::Foreign. It's pure perl, and uses your system's existing ssh (though it may require IO::Pty if using password auth).
  • Comment on Re: In Perl, how to check for the remote folder existence using sftp command? Cant use Net:SFTP

Replies are listed 'Best First'.
Re^2: In Perl, how to check for the remote folder existence using sftp command? Cant use Net:SFTP
by Yedu (Acolyte) on May 25, 2016 at 14:55 UTC
    Thanks for your response. Yes. we are using password authenticated sftp set up in place and need to use the same. So, you mean, we can simply use Net::SFTP::Foreign? it has nothing to do with installation?
      What is preventing you from installing any other libraries? I think this is the first barrier you need to overcome.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-04-18 06:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found