Reputation: 54371
I want to switch a file upload from FTP to SFTP. But I cannot install Net::SFTP because our system administrator does not like it (read: NO!). It is old, seems unmaintained and ratings on CPAN say it is buggy. Are there any alternatives available? Or am I overly paranoid and it actually works quite well?
Edit: I should have mentioned that I need one that can handle password authentication without user input.
Upvotes: 4
Views: 7255
Reputation: 193
expect, Net::SCP, or Net::SCP::Expect. i haven't used the modules, so i can't vouch for them, but it can't hurt to try them out. you should be able to install modules in your home dir with PREFIX via Makefile.pl or cpan shell and then experiment away.
perl Makefile.PL INSTALL_BASE=/home/<you>/lib
o conf makepl_arg INSTALL_BASE=/home/<you>/lib
Upvotes: 1
Reputation: 31673
If it's only matter of bugs in Net::SFTP
, you can try alternatives like Net::SFTP::Foreign
or Net::SSH2
. See Net::SFTP::Foreign Vs. Net::SFTP Vs. Net::SSH2::SFTP for a brief comparison.
Upvotes: 4