Help for this page

Select Code to Download


  1. or download this
    use Net::FTP;
    
    ...
    
    $ftp->login('username','password') || print $ftp->message;
    print $ftp->pwd();
    
  2. or download this
    my $hash = {'user' => username,
    pass' => 'password',
    ...
    
    $ftp->login($username, $password) || print $ftp->message;
    print $ftp->pwd();