Help for this page

Select Code to Download


  1. or download this
    sudo apt-get install libssh2-1-dev
    sudo apt-get install zlib1g
    sudo apt-get install zlib1g-dev
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    use 5.010;
    ...
    
    my $rftp = get_ftp_object();
    say "object created, back in main";
    
  3. or download this
    sub get_ftp_object{
    use strict;
    use Net::SSH2;
    ...
    $ssh2->auth_password($username,$password) or die "Unable to login $@ \
    +n";
    return $ssh2;
    }