How could I save the STDOUT that is displayed after a command line issue of system("FTP .."?
I want to be able to capture the screen output of that system call to FTP in a text file.
Thanks for the reply svar.
I'm actually running this script via a scheduler on a windows 2000 machine, so I want to be able to capture (in a text file) the actions going on with the FTP session, as a sort of log file.
I run my winnt/tasks/add scheduled tasks daily with a Net ping script to a text file with no problems. Just set your times according to how often you want to run the script similiar to unix cron.
=================
Bad Company Music
=================
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.