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



I'd recommend using Scott Klement's FTPAPI. That way you can do
anything you want with logging. Here's an example of a log file I use
for a transfer to a bank. The message is what's returned from the
FTPAPI logging function. I use a procedure that writes the data, time,
and message to the log file for every FTP action. I used to use the
FTP OVRDBF FILE(INPUT) method, but this is so much easier and you have
more control.

And of course another way would be to have a program that writes the
date/time to the log file as part of your script.

Transfer Transfer Message
Date Time
20070605 113912 230-*
20070605 113912 230-********************************************
20070605 113912 230 Virtual user ess02200 logged in.
20070605 113912 > TYPE I
20070605 113912 200 Type set to I.
20070605 113912 > PORT 192,168,1,11,193,31
20070605 113912 200 PORT command successful.
20070605 113912 > STOR AVA11000
20070605 113912 150 Opening BINARY mode data connection for AVA1
20070605 113912 226 Transfer complete.
20070605 113912 > QUIT

On 6/5/07, fu_james@xxxxxxxxxxxxxx <fu_james@xxxxxxxxxxxxxx> wrote:


Hi, list
We are using FTP script to ftp from a iSeries to WIN servers and other
iSeries servers. We redirect FTP output to a log file. Just wondering is
there a way to catch the ftp date/time information in the log file?
Thanks...

Best Regards.

James Fu

TDL Group Corp. (Tim Hortons)
Oakville, Ontario
Direct: 905-339-5798
fu_james@xxxxxxxxxxxxxx
Web: http://www.timhortons.com

The information contained in this message is confidential and may be legally
privileged. The message is intended solely for the addressee(s). If you are
not the intended recipient, you are hereby notified that any use,
dissemination, or reproduction is strictly prohibited and may be unlawful. If
you are not the intended recipient, please contact the sender by return e-mail
and destroy all copies of the original message.

L'information contenue dans ce message est de nature confidentielle et peut
etre de nature privilegiee. Ce message est strictement reserve a l'usage de
son ou ses destinataires. Si vous n'etes pas le destinataire prevu, prenez
avis, par la presente, que tout usage, distribution, ou copie de ce message
est strictement interdit et peut etre illicite. Si vous n'etes pas le
destinataire prevu, veuillez en aviser l'expediteur par courriel et detruire
tous les exemplaires du message original.

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

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.