in reply to debugging Net::Sftp::Foreign using ssh2
Or alternatively, use the autodie feature:$sftp->put(...); if ($sftp->error) { ... };
In order to activate debugging set...my $sftp = Net::SFTP::Foreign->new(..., autodie => 1);
$Net::SFTP::Foreign::debug = -1;
Also, note that libssh2/Net::SSH2 are somewhat buggy. Ensure that at least you are using the latest versions.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: debugging Net::Sftp::Foreign using ssh2
by sdetweil (Sexton) on Dec 12, 2012 at 20:11 UTC | |
by Anonymous Monk on Jan 02, 2018 at 23:00 UTC |