I am trying to use WinSCP to automate some basic FTP tasks so I have downloaded and setup the latest WinSCP 5.7.7 however I keep getting the following error when trying to execute the .bat with the script I have created. I am running Windows 10 Pro 1511
Error I get from running the .bat file.
Unknown command 'winscp.com'.
winscp.com /script="C:\AutoRun\ftp-script.txt" pause
winscp.com /log=ftp.log /command ^ "open ftp://user:email@example.com/" ^ "put -latest C:\Users\Dan\Documents\Test\* / "exit"