Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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).

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.