You might do well to read through the example that ships with the module. (snippet follows)
my %args = (ssh_args => []); $args{debug} = 1 if $opts{v}; push @{ $args{ssh_args} }, compression => 1 if $opts{C}; print "Connecting to $host...\n"; my $sftp = Net::SFTP->new($host, %args);
In reply to Re: Net::SFTP error
by idsfa
in thread Net::SFTP error
by jonp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |