in reply to Re^6: SFTP Issue
in thread SFTP Issue
any thoughts how to proceed further??use strict; use warnings; use Net::SFTP; my $host = "hostname"; my $user = "username"; my $remote = './trade_080417_121605.csv'; my $ssh= Net::SFTP->new($host , user=>$user,ssh_args => [ identity_fil +es => [ "/etrade/home/ibia_ir/.ssh/id_rsa"],debug => '1']); $ssh->ls("." , sub { print $_[0]->{longname}, "\n" });
Thanks in advance
|
|---|