C
Chandrashekar Tippur
All,
I am having some trouble with the module net::scp::expect. I am able
to scp manually.
The error that I am getting is:
Error - last line returned was: pp
| 3B | 3B/s | TOC: 0 at
/tmp/.itverify-1038/perl/lib/perl5/site_perl/5.6.1/Expect.pm line 733
Here is the snippet of code:
$scpe = Net::SCP::Expect->new(host=>"$Host", user=>"$Login",
password=>"$Passwd", port=>"$sshport", protocol=>2, auto_yes=>1) ||
die "Incorrect Login or password\n";
$scpe->scp("$line",'$remotepwd') || die "Hello";
Please help.
Thanks,
Shekar
I am having some trouble with the module net::scp::expect. I am able
to scp manually.
The error that I am getting is:
Error - last line returned was: pp
| 3B | 3B/s | TOC: 0 at
/tmp/.itverify-1038/perl/lib/perl5/site_perl/5.6.1/Expect.pm line 733
Here is the snippet of code:
$scpe = Net::SCP::Expect->new(host=>"$Host", user=>"$Login",
password=>"$Passwd", port=>"$sshport", protocol=>2, auto_yes=>1) ||
die "Incorrect Login or password\n";
$scpe->scp("$line",'$remotepwd') || die "Hello";
Please help.
Thanks,
Shekar