Hello,
I am currently writing a C++ app to ftp new files.
The C++ program will ftp to a server, get a list of files,
compate that to a list of files already received and ftp
the new files.
Was using DOS script with various calls to small C++ programs
but got very bulky and complex. Now, I am trying to write
one C++ program to do all of the work.
My question is can I use either system() or _popen to
call "ftp" and capture the return code? Also, if someone
has done something similar, it is easier to pipe the ftp
output to a file and look at it, or could I just read through
the buffer output?
Thanks much!