http://qs321.pair.com?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).