Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Improving an FTP process

by wardk (Deacon)
on Nov 09, 2000 at 23:48 UTC ( [id://40794]=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    system("ftp -n $gsRemoteMachine <<EOF> $gsStatusFile 2>&1\n\nuser $gsF
    +tpId$gsGateConnect $gsFtpPwd\nverbose\n$gsFtpMode\nput $gsFeedsDir$gs
    +FeedZipFile $gsRemoteDir$gsFeedZipFile\nclose\nbye\nEOF");
    
    ...
    # send admin email
      email_error($gsEmailAdmin, $gsErrSys, $gsErrSys."FTP failed.\nFTP se
    +ssion:\n@gaStatusLines");
    }
    
  2. or download this
    use Net::FTP;
    my $ftp;
    ...
        push @ReportArray, "\n\tAJB FILE FTP FAILED $@\n";
        email_error($gsEmailAdmin, $gsErrSys, $gsErrSys."FTP failed. $@");
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: CUFP [id://40794]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-18 05:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found