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



X2

I do exactly this.

I override output to QTEMP/FTPLOG... I have a pgm that reads the lines for 4xx and 5xx and responds with any errors.
Many of my older scripts run from a CLP.

I also use Scott's FTPAPI.

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of Steve McKay
Sent: Tuesday, September 08, 2020 1:56 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Is there a user exit or something similar that I can use to monitor when a FTP command is complete?

Could you add a trigger program to the FTP log file that checks each record
written for 4xx and 5xx return codes? If found, send a message/do some
error recovery/restart the process/whatever it is you need to do.

Thanks,

Steve McKay
(205) 585-8424
samckay1@xxxxxxxxx



On Tue, Sep 8, 2020 at 1:07 PM Marco Facchinetti <
marco.facchinetti@xxxxxxxxx> wrote:

Hi Darryl, I guess "scripts" means using IBM i Ftp client redirecting
input and output to src files.

If that is the case the answer to your question is no, the only Exit Point
available to IBM i Ftp client (and server too) is a requests validation
exit point. The request validation exit points can be used to restrict
operations which can be performed by FTP users.

More info at:


https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/rzaiq/rzaiqpsvrep.htm

So I guess Alan's answer is the right suggestion. Since you probably have
to change a lot of programs don't waste your time tweaking the scripts but
change them into something usable via Scott Klemets Ftpapi service program.
(thanks Scott!)

HTH
--
Marco Facchinetti

Mr S.r.l.

Tel. 035 962885
Cel. 393 9620498

Skype: facchinettimarco


Il giorno mar 8 set 2020 alle ore 18:03 a4g atl <a4ginatl2@xxxxxxxxx> ha
scritto:

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

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