Re: If file exists
In a batch file (as opposite to WinSCP script file), use
And yes, to check for results of a script, use the instructions from
https://winscp.net/eng/docs/faq_script_result
%1 (not %1%) to refer to an argument of the batch file.
And yes, to check for results of a script, use the instructions from
https://winscp.net/eng/docs/faq_script_result