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);
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.