use strict; use Data::Dumper; use Net::SSH::W32Perl; use Net::SFTP; use Memoize; my $host = 'xxxxxx'; my $user = 'xxxxx'; my $password = 'xxxxxx'; my $sftp = Net::SFTP->new( $host, user => $user, password => $password, debug => 0, protocol => 2 ); #### use strict; use Data::Dumper; use Net::SSH::W32Perl; use Net::SFTP; use Memoize; use GetOpt::Declare; my $host = 'xxxxxx'; my $user = 'xxxxx'; my $password = 'xxxxxx'; my $sftp = Net::SFTP->new( $host, user => $user, password => $password, debug => 0, protocol => 2 ); #### C:\TWO\scratch>perl sftp.pl "makerandom" is not exported by the Crypt::Random module "makerandom_itv" is not exported by the Crypt::Random module "makerandom_octet" is not exported by the Crypt::Random module Can't continue after import errors at C:/APPS/Perl/site/lib/Crypt/Random/Generator.pm line 12 BEGIN failed--compilation aborted at C:/APPS/Perl/site/lib/Crypt/Random/Generator.pm line 12, line 1. Compilation failed in require at C:/APPS/Perl/site/lib/Crypt/Random.pm line 18, line 1. BEGIN failed--compilation aborted at C:/APPS/Perl/site/lib/Crypt/Random.pm line 18, line 1. Compilation failed in require at C:/APPS/Perl/site/lib/Crypt/DH.pm line 6, line 1. BEGIN failed--compilation aborted at C:/APPS/Perl/site/lib/Crypt/DH.pm line 6, line 1. Compilation failed in require at C:/APPS/Perl/site/lib/Net/SSH/Perl/Kex/DH1.pm line 13, line 1. BEGIN failed--compilation aborted at C:/APPS/Perl/site/lib/Net/SSH/Perl/Kex/DH1.pm line 13, l ine 1. Compilation failed in require at C:/APPS/Perl/site/lib/Net/SSH/Perl/Kex.pm line 6, line 1. BEGIN failed--compilation aborted at C:/APPS/Perl/site/lib/Net/SSH/Perl/Kex.pm line 6, line 1 . Compilation failed in require at C:/APPS/Perl/site/lib/Net/SSH/Perl/SSH2.pm line 6, line 1. BEGIN failed--compilation aborted at C:/APPS/Perl/site/lib/Net/SSH/Perl/SSH2.pm line 6, line 1. Compilation failed in require at C:/APPS/Perl/site/lib/Net/SSH/W32Perl/SSH2.pm line 7, line 1 . BEGIN failed--compilation aborted at C:/APPS/Perl/site/lib/Net/SSH/W32Perl/SSH2.pm line 7, li ne 1. Compilation failed in require at C:/APPS/Perl/site/lib/Net/SSH/Perl.pm line 55, line 1. C:\TWO\scratch>