Ambiguous command ' '
When running an automated script I get the following:
My winscp.bat file looks like this
My command file:
Any ideas?
2022-04-29 10:45:03.824 Script: Ambiguous command ''. Possible matches are: !, ascii, binary, bye, call, cd, checksum, chmod, close, cp, dir, echo, exit, get, help, keepuptodate, lcd, lls, ln, lpwd, ls, man, mget, mkdir, mput, mv, open, option, put, pwd, recv, rename, rm, rmdir, send, session, stat, symlink, synchronize . 2022-04-29 10:45:03.824 Script: Failed . 2022-04-29 10:45:03.824 Script: Exit code: 1 . 2022-04-29 10:45:03.824 Closing connection. . 2022-04-29 10:45:03.824 Sending special code: 12 . 2022-04-29 10:45:03.824 Sent EOF message
My winscp.bat file looks like this
"C:\Program Files (x86)\WinSCP\WinSCP.com" /ini=nul /log=C:\Script\ftp_pipechain\log\ftplog.txt /script=C:\Script\ftp_pipechain\pipechain_commands.txt
Any ideas?