Re: errorlevels ... again
Just to clarify, when I run the script, I should get an errorlevel 1 for ANY failure during the process?
Yes.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
Just to clarify, when I run the script, I should get an errorlevel 1 for ANY failure during the process?
The relevant section of the script is
:RetryLoop
winscp3.exe /console /script=transfer.txt || goto RetryLoop
Transfer.txt is
option batch on
option confirm off
option transfer binary
open (server location)
synchronize remote
close
exit
Please post your script file. For me error code 1 is returned, when there is a timeout. Also are you sure you are using the latest version of WinSCP?
Please post your script file. For me error code 1 is returned, when there is a timeout. Also are you sure you are using the latest version of WinSCP?