in reply to net::sftp::foreign - default timeout?
Internally, it is stored on $sftp->{_timeout} and the default value is undef that means "do not time out".my $sftp = Net::SFTP::Foreign->new('foo@bar.com', timeout => 300);
update: and $sftp->status becomes SSH2_FX_CONNECTION_LOST when a timeout causes some command to fail.
|
|---|