Hi Salva
I tried using the method mentioned on page http://search.cpan.org/~salva/Net-SFTP-Foreign-Backend-Net_SSH2-0.05/lib/Net/SFTP/Foreign/Backend/Net_SSH2.pm but the results were still the same. I am still getting the same error. I only made following inclusions at starting
$ssh2 = Net::SSH2->new(); $ssh2->connect($host) or die "Unable to connect $host $@ \n"; print " SSH Connected \n"; $ssh2->auth_password($user,$passwd) or die "Unable to login $@ \n"; print " SSH Authenticated \n"; $sftp = Net::SFTP::Foreign->new(ssh2 => $ssh2, backend => 'Net_SSH2') +|| die "$sftp->error";
rest of the code remains the same. Can you please guide me what am I doing wrong here?
In reply to Re^2: Strange behavior for PUT function in Net::SFTP::Foreign
by masteradit
in thread Strange behavior for PUT function in Net::SFTP::Foreign
by masteradit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |