Exit Code Error
I am running, WinSCP Version 5.13.7 (Build 9125) (OS 6.1.7601 Service Pack 1 - Windows 7 Professional) and have an error when using the following command line syntax.
"C:\Program Files\WinSCP\WinSCP.exe" /command "open ftp://xxxx:***@xxxx.xxxx.co.nz" "put Y:\IMAGES\search.png /acs/" /log="Y:\TEMP\WINSCP-STN963-20190125-9.LOG" /loglevel=1 "exit"
The file is uploaded successfully but the Exit Code is 1 because of this error.
Retrospectively logging previous script records:
Searching for host...
Host "exit" does not exist.
Script: Failed
Could somebody please help me with the cause of this error.
Cheers.
"C:\Program Files\WinSCP\WinSCP.exe" /command "open ftp://xxxx:***@xxxx.xxxx.co.nz" "put Y:\IMAGES\search.png /acs/" /log="Y:\TEMP\WINSCP-STN963-20190125-9.LOG" /loglevel=1 "exit"
The file is uploaded successfully but the Exit Code is 1 because of this error.
Retrospectively logging previous script records:
Searching for host...
Host "exit" does not exist.
Script: Failed
Could somebody please help me with the cause of this error.
Cheers.