http://www.perlmonks.org?node_id=1164079


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.