in reply to Couldn't get handle : Failure at line 11,sftp a file in perl
Are you sure that the connection to $ip worked? How can you tell? (You don't have any code in this snippet that shows you are checking.)
BTW, you probably want to use Net::SFTP::Foreign or Net::SSH2 instead. See Net::SFTP::Foreign Vs. Net::SFTP Vs. Net::SSH2::SFTP.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Couldn't get handle : Failure at line 11,sftp a file in perl
by amchidam (Initiate) on Mar 18, 2016 at 06:35 UTC | |
by poj (Abbot) on Mar 18, 2016 at 07:51 UTC |