Hi,
I'm trying to write a programm that will sftp files fro Windows XP platform.
I cannot find Net::SFTP module on ppm, only Net::SFTP::Foreign is available.
When I try to use it I have the following error:
password authentication is not available, IO::Pty and Expect are not installed at G:\DWH\CONE\sftpTest.pl line 9
I cannot find both IO:Pty and Expect on ppm.
Please help.
Here is my code:
use strict;
use Net::SFTP::Foreign;
my $host;
my %fargs;
$host="ftp.server.com";
%fargs = ( user => "usercode", password => 'password');
my $sftp = Net::SFTP::Foreign->new($host, %fargs);
exit;
I used CPAN to load Net::SFTP and its dependancies (a ton of them)
Net::SFTP uses Net::SSH::Perl which has a bug reported on a loop in the data handling (client to server).. no known fix for the loop yet..
Sam
Did you succeed to run it?
Hi - I guess I'm encountering the same issue as you. Net::SFTP::Foreign produces the IO:Pty error, and Net::SFTP is just hanging.
Did you find a solution?
THATS VERY INFORMATIVE STUFF I LIKED IT.
Solar Panel
Solar Power