use Net::SFTP ; $host = "Hostname" ; %args = ( "user" , "vetri" , "password" , "vetri" , "debug" , "true" ) ; my $sftp = Net::SFTP->new($host , %args); $sftp->put("2", "8");
I got below error while running this above program in perl 5.6.1
Key class 'Net::SSH::Perl::Key::DSA' is unsupported: unknown import: lib GMP at.BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.1/Crypt/DSA/K.Compilation failed in require at /usr/lib/perl5/site_perl/5.6.1/Crypt/DSA.pm li.BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.1/Crypt/DSA.p.Compilation failed in require at /usr/lib/perl5/site_perl/5.6.1/Net/SSH/Perl/Ke.BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.6.1/Net/SSH/Per.Compilation failed in require at (eval 25) line 1, <GEN0> line 1. BEGIN failed--compilation aborted at (eval 25) line 1, <GEN0> line 1.
In reply to Net::SFTP in perl by vetrivel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |