Help for this page

Select Code to Download


  1. or download this
    Client code:
    my $url = "https:\/\/acct:pass\@ftp.mydomain.com/cgi-bin/upload.pl";
    ...
    ]
    ); 
    print $res->content, "\n";
    
  2. or download this
    ## open of the file on server
    open(FILE,">$upload_dir/$file_name") || &Error("Error opening file $fi
    +le_name for writing, error $!", 1);
    ...
    {
    last;
    }