First of all, thank you for all the documentation on WinSCP.
I have created a batch file, which I have enclosed with this post. I am trying to execute the batch file from the winscp command prompt. Eventually I will call the batch file from SQL Server, but I want to make sure everything works correctly from the command prompt first.
Anyways, the winscp command prompt does not seem to be recognizing the "/script" command. I get an error message stating "Unknown command". I am enclosing a screenshot of the error along with various syntax that I tried.
I am not sure if I am doing something fundamentally wrong, so any advice would be welcome.