Verification, Errors, Logging

Advertisement

Ilya
Guest

Verification, Errors, Logging

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Verification, Errors, Logging

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?

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.

Reply with quote

Advertisement

You can post new topics in this forum