Alternative Net :: SFTP

I want to switch file upload from FTP to SFTP. But I can’t install Net :: SFTP because our system administrator doesn’t like it (read: NO! ). He is old, seems ill-mannered, and CPAN ratings say this is a mistake. Are there any alternatives? Or am I too paranoid and actually it works well?

Edit: I should have mentioned that I need one that can handle password authentication without user input.

+4
source share
2 answers

If this is just a bug question 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.

+4
source

expect Net :: SCP or Net :: SCP :: Expect. I did not use modules, so I can not vouch for them, but it does not hurt to try them. You should be able to install modules in your home directory using PREFIX via Makefile.pl or the cpan shell, and then experiment.

 perl Makefile.PL INSTALL_BASE=/home/<you>/lib o conf makepl_arg INSTALL_BASE=/home/<you>/lib 
+1
source

All Articles