Copy-pasting might alter the "strange" character.
Btw, I cannot imagine that a change on server-side could fix this problem.
Btw, I cannot imagine that a change on server-side could fix this problem.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
OPEN, PUT and EXIT. If I run WinSCP.com and copy and paste those 3 lines individually from the WinSCP command prompt, they all work, they just fail when executing WinSCP.com with the /script="SyscoSend.ftp" parameter (see the attached log file). If there was a "strange" character in the OPEN command, wouldn't it fail pasting into the WinSCP.com command prompt too?
> 2025-12-15 12:18:44.821 Script: open sftp://.../ -hostkey="ssh-rsa 2048 JOWSZHHyqS8cJxh3IiJ/Z9ar9qEaY0pysvzGuZBXnowWinSCP.com /script behavior. A simple script which has 3 commands: and open command, an put command and an exit, which was working for several years (and similar scripts being used with other partners continue to work fine) is ignoring/missing/not seeing the put command after the open. What is especially strange is running WinSCP.com and pasting the 3 commands contained in the script work fine. I'm attaching the credential blurred out snapshot of the script, the batch file and the log showing the "Ambiguous command" error. Your help will be greatly appreciated.