FTP to WinNT

Dear All,
I am trying to schedule a set of macros which have been defined in my
/home/.netrc command file. QNX is the client and the WindowsNT is the
Server. I want to run FTP without operator intervention, i.e. like a batch
file, executing my macros. How is this done?

Thanks in Advance.


Regards,

Mark.

Mark Dickson <mark@sgcltd.co.uk> wrote:

Dear All,
I am trying to schedule a set of macros which have been defined in my
/home/.netrc command file. QNX is the client and the WindowsNT is the
Server. I want to run FTP without operator intervention, i.e. like a batch
file, executing my macros. How is this done?

You could take a look at popen() or at using pseudo-ttys. Basically
you write commands to it, and read & parse the results as text.

There are also ftp libraries available that give a programming interface,
search qdn for libftp.

-David

QNX Training Services
dagibbs@qnx.com