One really big benefit of Scott's FTPAPI is, each FTP command is a separate call to a procedure - therefore, you can perform error-checking in a very granular fashion.

In the script approach, you have to wait until it's all done and parse the resulting output file, usually a spooled file.

HTH
Vern

On 1/27/2014 2:56 PM, Gary Thompson wrote:
Thanks Charles, we've used Scott's DELTREE as
a model here for some time and I 2nd your accolades.


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Charles Wilt
Sent: Monday, January 27, 2014 1:29 PM
To: Midrange Systems Technical Discussion
Subject: Re: "managed FTP" on the cheap

get rid of the script and use Scott's FTPAPI...
http://www.scottklement.com/ftpapi/

But download the beta version as it is the most recent (I'd take Scott's beta code over most vendor's production code, beside the only reason it's still "beta" is that he want to update the examples) http://www.scottklement.com/ftpapi/beta/

Join the mailing list for support
http://www.scottklement.com/mailman/listinfo/ftpapi

Charles




On Mon, Jan 27, 2014 at 3:22 PM, Gary Thompson <gthompson@xxxxxxxxxxx>wrote:

I am working on an EDI 856 ASN project.

We're currently in pilot phase (delivering product to a few, selected
customers requiring ASN) and this weekend had a problem where the
service handing ASN document transfers to our customers started
returning:

"Cannot connect to host 000.000.00.00 at address."
"Try again later."

(double quotes mine)

The ftp script in question has been running reliably the past few
weeks and had run successfully about 7:30 pm yesterday, Sunday, Jan
26th.

At about 10:15 pm, we started "receiving" the cannot connect message.

Our ASN document service is also looking into the issue, but they
don't yet see a cause for failed FTP connections.

Question: is there a fairly eash way to "catch" an FTP "Cannot
connect" message and then either continue the transfer or
"re-schedule" ?

My operations manager said he had recommended the purchase of a
"Managed FTP solution" but was turned- down due to cost.

--
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 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.