[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Error handling in FTP



Sender: "John Cunha" <John.Cunha@xxxxxxxxxxxx>

Thanks Buck	
We are relying solely on using SQL to ftp the file 
and trigger the job for the origin server.
John 


>-----Original Message-----
>From: owner-ftpapi@xxxxxxxxxxxxx 
>[mailto:owner-ftpapi@xxxxxxxxxxxxx] On Behalf Of Buck Calabro
>Sent: January 14, 2004 2:57 PM
>To: ftpapi@xxxxxxxxxxxxx
>Subject: RE: Error handling in FTP
>
>
>Sender: "Buck Calabro" <Buck.Calabro@xxxxxxxxxxxx>
>
>>1- Get a file from a remote server
>>2- FTP to the AS/400...
>>3- submit a Robot job using quote...
>>
>>The challenge is trying to trap errors and act accordingly..
>>
>>E.g. if FTP fails keep the old file and do not submit Robot job..
>>
>>Can anyone help out?
>
>How far have you got?  Have you downloaded and installed the 
>FTPAPI?  Basically, the API allows you to do the individual 
>FTP commands like GET, PUT, etc.  So you'd write an RPG 
>program that does the individual FTP steps rather than type 
>them in by hand or use an FTP script.
>  --buck
>-----------------------------------------------------------------------
>This is the FTPAPI mailing list.  To unsubscribe from the list 
>send mail to majordomo@xxxxxxxxxxxxx with the body: 
>unsubscribe ftpapi mymailaddr
>-----------------------------------------------------------------------
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------