hi all

i have got a code for transferring files from one linux system to another linux
system through SFTP.


i have installed in both systems Net::SFTP;

my code is as follows:

#!usr/bin/perl

use Net::SFTP;
use strict;
use warnings;

my $sftp=Net::SFTP->new("xxx.xxx.xxx.xxx",user=>"aaa",password=>"ssq") or
die"not connected".


but when i compilet this code , iam getting the error as

"Request for subsystem 'sftp'failed channel '1' at /usr/lib/perl5/perl_site/5.6.0/Net/SFTP.pm line 66"

please tell me what has gone wrong and how to rectify it

regards
uday
___________________________________________________
Click below to experience Sooraj R Barjatya's latest offering
'Main Prem Ki Diwani Hoon' starring Hrithik, Abhishek
 & Kareena http://www.mpkdh.com


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to