david2008 has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
I have a problem with net::sftp.
It dies in the middle.
I send the command
my %args = (user=>'x', password=>'y', debug=>'1'); ##The ftp modules my $sftp = new Net::SFTP('x.y.z',%args); my $put_code = $sftp->put($local_file, $remote_file); print "hi"
and it dies in the middle
i get the following debug log
sftp: Sent SSH2_FXP_OPEN I:0 P:<file_name>
Connection closed at x.pl line 26
It does not get to the print.
I use Net::SFTP 0.10.
I don't have an idea how to continue to debug this issue.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: net::sftp dies in the middle
by salva (Canon) on Feb 04, 2013 at 08:50 UTC | |
by grumbert (Scribe) on Feb 04, 2013 at 09:44 UTC | |
Re: net::sftp dies in the middle
by Illuminatus (Curate) on Feb 04, 2013 at 18:13 UTC |
Back to
Seekers of Perl Wisdom