"Unknown command 'put" when i tried Syntax features

Advertisement

TomJack
Joined:
Posts:
2
Location:
NYC

"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

asia_gospel_sftp%40104.45.151.55+-+WinSCP+2019-01-05+10.50.47.png

Reply with quote E-mail

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
31,624
Location:
Prague, Czechia

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

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

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
31,624
Location:
Prague, Czechia

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

Reply with quote

Advertisement

You can post new topics in this forum