Thanks Alan, I'll include those. To come up with error messages I was simply forcing the ftp to fail (via the script) for a number of reasons and reviewed the results. Most of our FTPing is done to one particular system, but that's not always the case.
I appreciate the feedback.
-Kurt
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan Shore
Sent: Wednesday, November 02, 2011 12:33 PM
To: Midrange Systems Technical Discussion
Subject: RE: FTP actual delivery confirmation
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
--
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From: jmoreno@xxxxxxxxxxxxxxxx
To: midrange-l@xxxxxxxxxxxx,
Date: 11/02/2011 10:10 AM
Subject: FTP actual delivery confirmation
Sent by: midrange-l-bounces@xxxxxxxxxxxx
Hello group,
Is it possible to get an actual delivery confirmation of an FTP function
after I have delivered IFS files to a remote location?
Can this be achieved in a single command stream?
We had an incident were the remote location effectively responded the PING
but the documents were lost.
At the moment our Batch FTP outbound process only checks for an abnormal
error of the plain FTP command.
Would it be sufficient and reliable to inspect the verbose of the FTP
Output?
Just wondering and looking for your assistance.
Thanks in advance for your answers and recommendations
Jorge Moreno
Military Car Sales, Inc
Woodbury, New York
This email, including its attachments, may contain information that is
confidential and may be protected by federal and/or state laws and
regulations, or other confidentiality privileges. This email, including
its attachments, may contain non-public information, therefore it is
intended to be conveyed only to the designated recipient(s). If you are
not an intended recipient, please delete this email, including its
attachments, and notify the sender. The unauthorized use, dissemination,
distribution or reproduction of this email, including its attachments, is
prohibited and may be unlawful.
As an Amazon Associate we earn from qualifying purchases.