× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



If you have an interest, I have implemented an FTP transfer utility that
uses Scott's FTP client under "FTP Objects between Systems" at
www.think400.dk/downloads.htm. Might give you some ideas.

On Tue, Dec 31, 2019 at 7:45 AM Mark Waterbury <
mark.s.waterbury@xxxxxxxxxxxxx> wrote:

Hi, Kevin,

If you are just invoking the built-in IBM_i FTP client in batch, then it
just reads from a "script" of input commands, and tries to execute them,
one after another. It does not know or care if errors occur.

To really handle such situations properly, you should consider using a
tool like Scott Klement's excellent LIBFTP (aka. FTPAPI ...). See:

http://www.scottklement.com/ftpapi/

for details. It comes with lots of "sample" programs to illustrate its
uses. It was custom-designed to allow you to handle just such situations.


Hope that helps,

Mark S. Waterbury

On Tuesday, December 31, 2019, 10:12:27 AM EST, Kevin Monceaux <
kevin@xxxxxxxxxxxxxx> wrote:

Midrange Fans,

I've been noticing an occasional problem with batch FTPs where I work. If
any errors are encountered, the client seems to ignore them and continue to
process the reset of the commands in the INPUT file member, then exits
gracefully. So even if a batch FTP fails, the batch job itself ends
successfully. Is there any way to set the FTP command to stop with an
escape message if it encounters an error?


--

Kevin
http://www.RawFedDogs.net
http://www.Lassie.xyz
http://www.WacoAgilityGroup.org
Bruceville, TX

What's the definition of a legacy system? One that works!
Errare humanum est, ignoscere caninum.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.