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



Scott's FTP Api does not use scripts. Here is the description of what it
does.
*Download FTP API source:*

*With OS/400 IBM ships a wonderful FTP client that allows you to I do both
interactive and batch file transfers. After attempting to write a few
programs that send files in "batch" mode, I discovered that properly
detecting errors in batch mode was not fun.*

*For my own project, I needed a way to reliably send data to a customer
every day. When this failed, or anything went wrong in the process I needed
an easy way to alert the I.S. department before the customer noticed.*

*From these requirements, the FTP API was born. It uses socket calls to
implement the FTP protocol. If anything goes wrong, it will report the
error, and give the program the ability to retrieve the error message. I
use it both to send/receive files from my customers, and also (as a
seperate job) to log on later and check that the file is actually there.*

*This is a powerful utility with many uses, so I'm opening it up to the
world. Since this has only been tested for a few applications with a few
servers, I'm looking for people to help out with testing, documentation and
maybe even with new featur*



On Tue, Sep 8, 2020 at 9:03 AM a4g atl <a4ginatl2@xxxxxxxxx> wrote:

I have reviewed those procedures and have my own utilities that I developed
years ago. MyFTP scripts are not the issue. Its the scripts created before
my time that I have to work on.

Darryl.

On Tue, Sep 8, 2020 at 11:56 AM Alan Campin <alan0307d@xxxxxxxxx> wrote:

Have you looked at Scott Kelments FTP Api? It executes the FTP step by
step
and is designed so that you can determine if the step worked correctly.
If
you go to www.think400.dk/downloads.htm and look for project FTPOBJ
between systems there is an example of using the API.


On Tue, Sep 8, 2020 at 8:41 AM a4g atl <a4ginatl2@xxxxxxxxx> wrote:

I need a immediate response to read the log file. On many of the FTP
scripts before my time, the logs were not saved, so I would like to
break
in and scan the log file.

It seems this is not do-able?

Darryl.

On Fri, Sep 4, 2020 at 7:18 AM Rob Berendt <rob@xxxxxxxxx> wrote:

Could you query netstat_info and determine that the ftp port for that
job
is dormant?




https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/rzajq/rzajqservicestcpip.htm

Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 7310 Innovation Blvd, Suite 104
Ft. Wayne, IN 46818
Ship to: 7310 Innovation Blvd, Dock 9C
Ft. Wayne, IN 46818
http://www.dekko.com


-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf
Of
a4g
atl
Sent: Thursday, September 3, 2020 5:15 PM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Is there a user exit or something similar that I can use to
monitor when a FTP command is complete?

CAUTION: This email originated from outside of the organization. Do
not
click links or open attachments unless you recognize the sender and
know
the content is safe.


We have many FTP processes and we need to know when the FTP command
has
completed so that we can read the FTP log and look for failures.

To save modifying hundreds of programs, if there were something like
an
exit point that can tell me the transmission is complete, I could
then
call
a program to read the log and advise if there is a failure.

TIA
Darryl Freinkel
--
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@xxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxx 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.