|
Answer» Hi all.
I'm trying to build an dos batch file that opens an dos FTP session and MAKE file exchanges.
how can i register a log or CAPTURE sucess/failure messages from ftp session?first see if your ftp client produces a result or errorlevel upon its completion.. if so then test for it using a "if errorlevel == " to steer your batch.
you might also be able to pipe the result code to a file upon the sessions completion. Look for info on loading result codes and piping output to VARIABLES and other devices.
Piping is done via "|" dec 124, shift of the "\" KEY on some keyboards.
|