Help for this page

Select Code to Download


  1. or download this
    sub new {
        my $class = shift;
    ...
        my $ssh = Net::SSH::Perl->new($sftp->{host}, protocol => 2,
            debug => $sftp->{debug}, @{ $param{ssh_args} });
    ...
    
  2. or download this
    $sftp = Net::SFTP::->new($host,
                             user => $username,
    ...
                                ]
                             ]
                            );