Topic "Verification, Errors, Logging"

Author Message
Ilya

Guest


I'm writing a batch script that will upload a file to a server. Once that gets done, it moves the file localally to another directory. I need to do a check if the file transfered. Right now i'm using errorlevel to see if there was an error, but is there a way to check if the transfer was successful? Also if there was an error, is it possible for me to log the error string.. or is there a numerical match to the error?
Ilya
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Ilya wrote:
Right now i'm using errorlevel to see if there was an error, but is there a way to check if the transfer was successful?

What's the difference?

Quote:
Also if there was an error, is it possible for me to log the error string.. or is there a numerical match to the error?

No.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License