C:\Program Files (x86)\WinSCP
I am trying to automate a simple script to upload only the newest files added to a directory to the FTP server but I am having problems just getting the script to run.
winscp.com /script="C:\AutoRun\ftp-script.txt" pause
winscp.com /log=ftp.log /command ^ "open ftp://user:firstname.lastname@example.org/" ^ "put -latest C:\Users\Dan\Documents\Test\* / "exit"
Running the ftp.bat files give the following error
"Unknown command 'winscp.com'."
No idea what could be going wrong?