Help for this page

Select Code to Download


  1. or download this
    if ( ! -e $file ) {
        emailerr("$file does not exist");
    ...
    else {
        $ftps->put($file);
    }
    
  2. or download this
    my $rtncode = $ftps->last_status_code;
    if ( $rtncode != 2 ) {
        # deal with error
    }