Mar 16, 2018, 3:22 AM
Hi this is a tricky one as Net::SFTP::Foreign will install on Active Perl Windows but then errors as it requires Net::SFTP installed. It requests backend Net_SSH2 module which is the Net::SFTP module which cannot be installed on Windows. I cannot locate a version that will compile (including dependencies).
However, I have a workaround for all Windows users that works!! The purists will not like it, but it works in Perl!
I will post shortly.
my $sftp = Net::SFTP::Foreign-> new(host => $host, backend => 'Net_SSH2', user => $user, key_path => $privateKey, passphrase => $passphrase,);
(This post was edited by ogit2 on Mar 16, 2018, 3:23 AM)