|
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] I have automated FTP transfers in a previous life (pre-Momentum). The trick in an AS/400 CL program is that the FTP commands must be in a separate text file. The CL program will need to override the command input file and the FTP output messages file. The application I wrote even updated the command text file before initiating the FTP. The hard part is that any FTP errors are *only* reported to the output file - no monitorable messages are generated. You must scan the output file for error codes (I think in the 400 & 500 range). Check the CL manual for the FTP command to get the input & output file names for the override. Regards, Gregory Novak Manager North American Technical Services Momentum Utilities Pty Ltd (630) 985-1736 gnovak@jacana.com www.jacana.com -----Original Message----- From: Jim Wiedl [mailto:WIEDLJ@timesaversinc.com] Sent: Tuesday, May 28, 2002 11:32 AM To: mapics-l@midrange.com Subject: FTP Has anyone used FTP to transfer a file from the AS400 to a server with a automated program? *********************************************************** This email has been scanned for viruses. *********************************************************** --
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.