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.
226 File transfer complete.
226 Transfer complete.
226 Transfer Complete
226 File receive OK.
226 File received ok
226 transfer complete
226 Transfer completed.
226 Transfer completed successfully

Alan Shore
Programmer/Analyst, Direct Response
E:AShore@xxxxxxxx
P:(631) 200-5019
C:(631) 880-8640
"If you're going through Hell, keep going" - Winston Churchill


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Kurt Anderson
Sent: Wednesday, November 02, 2011 1:08 PM
To: Midrange Systems Technical Discussion
Subject: RE: FTP actual delivery confirmation

Excellent, I'm going to have to review Scott's API. However I recently wrote a FTP Scripting service program. It currently uses SQL to check the output for:

D FTP_STS_HOST1 S 13a Inz( 'Unknown host%' )
D FTP_STS_HOST2 S 17a Inz( 'Cannot find host%' )
D FTP_STS_LOGIN S 32a Inz( '530 Login or Password +
D incorrect.' )
D FTP_STS_OK1 C '226 File received ok.'
D FTP_STS_OK2 C '226 Transfer complete.'
D STS_BADLOGIN C 'Failed to Login: '
D STS_BADSERVER C 'Failed to Connect to Server: '

-Kurt

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Wednesday, November 02, 2011 10:01 AM
To: Midrange Systems Technical Discussion
Subject: Re: FTP actual delivery confirmation

I've not used it, but does this tell you what confirmation messages may be received?
http://www.scottklement.com/ftpapi/


Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.