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



and you'll need this:

// Logging routine
D Logger PR
D Msg 256A Const
D extra * Value

// Register logging exit process.
FTP_exitProc(sess: FTP_EXTLOG: %paddr(Logger): *null);


On Thu, Sep 18, 2014 at 1:19 PM, Michael Ryan <michaelrtr@xxxxxxxxx> wrote:

I use this:

// Turn FTP logging on for this session.
FTP_logging(sess:*ON);

You'll see things like this:

200 Command okay.
STOR import/supplemental.csv
150 Opening BINARY mode data connection for import/supplemental.csv.
226 Transfer complete. 1158969 bytes transferred. 1158969 bps.




On Thu, Sep 18, 2014 at 1:02 PM, Jeff Young <jyoung0950@xxxxxxxxx> wrote:

All,
Using normal FTP, I can capture all of the session messages in a data base
file using the OVRDBF OUTPUT TOFILE(XXXX) command before the session
starts.

Using the FTPAPI, I notice that the service program sends back messages to
the job log, but do not see any to capture them for historical purposes.
Also, normal FTP gives me the total number of bytes transmitted. I did
not
see this in the job log of the FTPAPI session.

TIA,

Jeff Young
Sr. Programmer Analyst
--
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 ...

Follow-Ups:
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.