I'm using WinSCP to download some files automatically. Sometimes our partner change a password. So I get a Access denied.
At this case I have a little problem, because my software is still waiting, until WinSCP is finish and close the command window.
I call WinSCP with: MayPath\winscp.exe /console /script="MySkricpt.txt"
option confirm off
At this Point I got the "Access denied", and the WinSCP is trying again and again...
My qusetion: is there an option, to close WinSCP if I got an Access denied?
(Of course I had read the Documents, and I have found no answer)