|
You may wish to check out the SNDTCPF and RCVTCPF commands in the Aug 95 issue of NEWS/400. It handles checking for the 'transfer complete' msg for you. Scott Lindstrom Zenith Electronics. ______________________________ Reply Separator _________________________________ Subject: RE: Successful FTP? Author: joakim.svensson@capgemini.se at SMTPLINK-Zenith Date: 4/30/97 4:40 PM When using FTP, it's supposed there's a user watching the progress and succes of the transfer. The only way to get a result is to capture the data shown on the screen. It's done by overriding the file OUTPUT to a database file, which you'll have to scann afterwards. I'm not sure, but I thing the responscode for a successful transfer is 426, beginning early in the record (pos 2 or 3). This is of cource release-dependent, and the type/release/version of the remote host will also have to be considerred. /Joakim --------- Joakim Svensson IT-Architect Cap Gemini, Sweden >-----Original Message----- >Has anyone developed a way to tell if a FTP transfer from a 400 to an PC >server is successful? I have a program that will run in batch (submitted >from the job scheduler) that will automatically FTP a file to an imaging >server. I have not been able to figure out how to tell if the FTP completed >successfully. If it has, then I can clear the file for the next transfer >later in the day. If not, then I need to retry at a later time and/or notify >the operator. Idealy, this will run as a hands-off operation, with the >operator involved only when there is an error. > >Terry L. Glass * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the Midrange System Mailing List! To submit a new message, * * send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from * * this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe MIDRANGE-L' in the body of your message. Questions * * should be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the Midrange System Mailing List! To submit a new message, * * send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from * * this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe MIDRANGE-L' in the body of your message. Questions * * should be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
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.