Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 ( #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
Node Status?
node history
Node Type: note [id://1164079]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2019-04-20 18:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I am most likely to install a new module from CPAN if:
















    Results (110 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!