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



Sorry Jeff...

I don't have any experience with it myself ... just knew it was there.


Charles



On Mon, Jul 20, 2015 at 10:20 AM, Jeff Young <jyoung0950@xxxxxxxxx> wrote:

Charles,
I looked at that function, and it seems to be what I want, but I am not
sure how to use it.
It appears to want a file on the IFS to read from (File Description as parm
for read).
Do you have an example as to how I would use it to read from a DB file?

Thanks,

Jeff Young
Sr. Programmer Analyst

On Mon, Jul 20, 2015 at 10:11 AM, Charles Wilt <charles.wilt@xxxxxxxxx>
wrote:

You can do it with FTPAPI...

As it allows you to specify your own Read() function instead of using the
default functions.

But you'd need to write your replaced function and then specify it via
FTP_putRaw

D FTP_putraw PR 10I 0 ExtProc('FTP_putraw')
D peSocket 10I 0 value
D pepRemote * value options(*string)
D peDescr 10I 0 value
D peReadProc * PROCPTR value

You'd pass a procedure pointer to your function in the peReadProc param.


Charles


On Mon, Jul 20, 2015 at 9:44 AM, Jeff Young <jyoung0950@xxxxxxxxx>
wrote:

Michael,
I just installed FTPAPI, but did not see the single record send
function.
The README file does not have much in the way of documentation on the
various function.
Where can I go to get more detailed info on the various functions
available
via the FTPAPI?

Thanks,

Jeff Young
Sr. Programmer Analyst

On Mon, Jul 20, 2015 at 9:42 AM, Michael Ryan <michaelrtr@xxxxxxxxx>
wrote:

FTPAPI could do that. Seems like there would be other ways of doing
that
though, like journalling or an SQL Connect and Insert.

On Mon, Jul 20, 2015 at 9:36 AM, Jeff Young <jyoung0950@xxxxxxxxx>
wrote:

All,
Is there any method using FTP as the transmission mode to have
control
of
individual records being sent?
I would like to be able to do something like this:
create empty file on remote server
read record from my DB file on the i
put record to the remote file
if no error, update transmitted date/time in my DB record
repeat until all done
close file


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.


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


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


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


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