Re: Error Handling in WinSCP
You can test existence of file/directory using
https://winscp.net/eng/docs/scriptcommand_stat
Also, if you turn off directory caching (or start the script with empty cache), even the
stat
command.
https://winscp.net/eng/docs/scriptcommand_stat
Also, if you turn off directory caching (or start the script with empty cache), even the
cd
should fail straight away.