Error: Unknown command 'exit'
Hi,
I am using WinSCP by scripting it through XML. Files are going through, but I am still getting an error on each upload with "Unknown command 'exit'". Why is that? As far as I can see in your docs, I am supposed to use "exit" without "" to exit CMD.
The XML error log says: Unknown command 'exit '.
This is how it's run:
<ExecuteFile target="C:\Program Files (x86)\WinSCP\winscp.com" parameters='/command "open sftp://{connectionCredentials} -hostkey=""{hostKey}""" {commands}'/>
See attachment to see what {commands} looks like.
I am using WinSCP by scripting it through XML. Files are going through, but I am still getting an error on each upload with "Unknown command 'exit'". Why is that? As far as I can see in your docs, I am supposed to use "exit" without "" to exit CMD.
The XML error log says: Unknown command 'exit '.
This is how it's run:
<ExecuteFile target="C:\Program Files (x86)\WinSCP\winscp.com" parameters='/command "open sftp://{connectionCredentials} -hostkey=""{hostKey}""" {commands}'/>
See attachment to see what {commands} looks like.