[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting a Log from the FTPAPI Transactions
One option is to use dspjoblog
Example
DSPJOBLOG JOB(123456/USER/JOB) OUTPUT(*PRINT) (Or you could
output to a *OUTFILE if that suits better)
You can get the job details from wrkjob for interactive or wrkactjob
Cheers
Don Brown
MSD Information Technology MSDLogoLarge
Suite 5/29 McDougall Street Milton Q 4064 ( 07 3368 7888
+ PO Box 1629 MILTON Q 4064 Ê 07 3368 7877
* [1]Don.Brown@xxxxxxxxxx È 0408 751 644
þ [2]www.msd.net.au [3]www.architect4web.com.au
[cid:_2_0E3A4FC40E3A4BF0001003E24A257A9C]
I am a proud supporter of THE REFERRAL NETWORK and recommend the
services of the other member businesses. For more information please
checkout the website [4]www.refnet.net.au
From: Mike Wills <mike@xxxxxxxxxxxx>
To: HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>,
Date: 19/10/2012 12:46 PM
Subject: Re: Getting a Log from the FTPAPI Transactions
Sent by: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
__________________________________________________________________
It's been a while, how do I force a dumb of the job log? Not finding it
online.
--
Mike Wills
[5]http://mikewills.me
On Wed, Oct 17, 2012 at 10:55 PM, Scott Klement <sk@xxxxxxxxxxxxxxxx>
wrote:
> The ftp_log() API will enable logging for all FTP sessions, or
ftp_logging()
> can be used to enable it for only one session.
>
> Once enabled, the FTP protocol data will be written to the job log.
IF this
> is a one-time deal, it might be easiest to do that, then dump the job
log to
> a spooled file, and e-mail it to yourself.
>
> If this will be an ongoing need, you can use the FTP_xproc()
procedure to
> register an exit procedure. Use the FTP_EXTLOG exit point, and it
will send
> all of the logging information to a procedure of your choice instead
of
> sending it to the job log. You can then write code that puts it into
a
> file, or whatever is convenient for you. This way, you can make it
look
> nice in an e-mail, and make it go automatically (without a need for
stuff
> like dumping a job log.)
>
> -SK
>
>
> On 10/17/2012 9:29 PM, Mike Wills wrote:
>>
>> How can I get a log dump of the FTP transaction so I can email to
myself?
>>
>> --
>> Mike Wills
>> [6]http://mikewills.me
>>
>
>
-----------------------------------------------------------------------
> This is the FTPAPI mailing list. To unsubscribe, please go to:
> [7]http://www.scottklement.com/mailman/listinfo/ftpapi
>
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
[8]http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
References
1. mailto:Don.Brown@xxxxxxxxxx
2. http://www.msd.net.au/
3. http://www.architect4web.com.au/
4. file://localhost/tmp/www.refnet.net.au
5. http://mikewills.me/
6. http://mikewills.me/
7. http://www.scottklement.com/mailman/listinfo/ftpapi
8. http://www.scottklement.com/mailman/listinfo/ftpapi


-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------