my $sftp = $ssh->sftp() or die "Can't create sftp: " . $ssh->error; [download]
In reply to Re: How to connect to SFTP via OpenSSH by tangent in thread How to connect to SFTP via OpenSSH by Logic_Bomb421