"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 use https://winscp.net/eng/docs/commandline#syntax to fix filename have space.
Attached is what I got from command line:

Following is my Env
Windows 10 x64
WinSCP version 5.13.6 (Build 906 1)

$ G:/WinSCP/WinSCP.com /command
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:
41,441
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 execute 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