Re: Unknown command 'winscp.com'.
Your duplicate (and answered) question on Super User:
https://superuser.com/q/1086799/213663
https://superuser.com/q/1086799/213663
winscp.com /script="C:\AutoRun\ftp-script.txt"
pause
winscp.com /log=ftp.log /command ^
"open ftp://user:pass@url.com/" ^
"put -latest C:\Users\Dan\Documents\Test\* /
"exit"