Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: FTP - Capture Success messages  (Read 2886 times)

0 Members and 1 Guest are viewing this topic.

Mario Semedo

  • Guest
FTP - Capture Success messages
« on: October 16, 2004, 06:29:50 AM »
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?

scruge

  • Guest
Re: FTP - Capture Success messages
« Reply #1 on: October 24, 2004, 07:40:42 AM »
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.