Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: "Unknown command 'put" when i tried Syntax features

You have just posted the same link as before. The commands that you are trying to executed by WinSCP have wrong syntax. You have way too many double quotes there.
It looks like you have used batch-file syntax in WinSCP script file (though that's just a guess, as we still do not know how you are executing WinSCP).
The script file should have a syntax like shown in the example:
https://winscp.net/eng/docs/scripting#example
TomJack

Re: "Unknown command 'put" when i tried Syntax features

martin wrote:

You didn't show us how you provide the commands to WinSCP.


there have remote like ,
martin

Re: "Unknown command 'put" when i tried Syntax features

You didn't show us how you provide the commands to WinSCP.
TomJack

"Unknown command 'put" when i tried Syntax features

Hi Guys,
i tried usehttps://winscp.net/eng/docs/commandline#syntax to fix filename have space.
attached is what i got from command line

following is my Env
windows10 x64
WinSCP version 5.13.6(Build 906 1)

[/ode]$ G:/WinSCP/WinSCP.com /command [/code]
or
$ G:/WinSCP/WinSCP.exe /command


both not working for me, i still get error Unknown command

i upload my WinSCP.ini below