|
I tried parsing the output of the FTP command for errors. I had something that worked, but sometimes unusual things would go wrong that would not report an error. (basically, the 3-digit number is only stuff reported by the server, not errors reported by the client) and once in a great while, it'd even report something as failing when it did in fact succeed. After much frustration, and complaining that I was trying to make a computer understand output that was really intended to be read by a human, I created the FTPAPI service program. FTPAPI is an open-source project (free of charge) that, instead of using the IBM FTP client, allows you to integrate FTP calls directly into your programs. Instead of having to parse an error file, the error codes are returned to your program directly. If that interests you, you can find it here: http://www.scottklement.com/ftpapi/ On Wed, 29 Jan 2003, Dan wrote: > Does anyone have a program / routine that will read through an FTP log > and check for errors? Searching the archives turned up someone who > said they had something that did this, but gave no details. > (http://archive.midrange.com/midrange-l/199808/msg00657.html) > > (Also: http://archive.midrange.com/midrange-l/200106/msg00733.html) > > (I have BCC'd the posters of the above referenced messages.) > > Basically, I believe I am looking for something that identifies the > 3-digit result codes that indicate an error of some sort. > > TIA, Dan >
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.