|
You really only need to look at the first digit. I wrote several CL programs years ago to perform FTP to Windows and VMS. The second digit was not consistent. All I needed was to look for anything starting with a '5' to know if it failed or a '2' for success. Disadvantage was that this happens after the session stops. Didn't have FTPAPI back then. Would have likely been a lot simpler with FTPAPI.
John McKee
-----Original message-----
From: "Holger Scherer" hs@xxxxxxx
Date: Wed, 02 Nov 2011 14:49:27 -0500
To: "Midrange Systems Technical Discussion" midrange-l@xxxxxxxxxxxx
Subject: RE: FTP actual delivery confirmation
Thats the numeric codes are for. Not a good method, but useable.--
http://en.wikipedia.org/wiki/List_of_FTP_server_return_codes
-h
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan Shore
Hi Kurt
Unfortunately not all ftp software/systems return the same values For example, here is what we have for Transfer complete
226 File transfer completed successfully.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
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.