Too many parameters for command open

Advertisement

SRK
Guest

Too many parameters for command open

Hi,

" Error : Too many parameters for command open "

I am trying to transfer the files using SFTP with Pair Key authorization: Please find the below script as similar to my original script

option batch on
option confirm off
open sftp://<UserName>@<Server> -privatekey=<Private Key>.ppk

I am currently using WinSCP 4.2.8.818(Size: 6.06 MB), I have also read the https://winscp.net/eng/docs/faq_script_switch but didn't find any solution.

Your suggestions/advice will really help us.

Thanks in advance.

SRK

Reply with quote

Advertisement

Achmad
Guest

too many parameters for command "open"

Hi,
I got the same message when run command as below:
open -explicittls -passive=on ftps://username:passwprd@foo.com:50021 -rawsettings ProxyMethod=3 ProxyHost=proxy.net ProxyPort=8080 ProxyUsername=itdept ProxyPassword=testonly

Please advise.

Achmad

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
41,517
Location:
Prague, Czechia

Re: too many parameters for command "open"

Achmad wrote:

I got the same message when run command as below:
open -explicittls -passive=on ftps://username:passwprd@foo.com:50021 -rawsettings ProxyMethod=3 ProxyHost=proxy.net ProxyPort=8080 ProxyUsername=itdept ProxyPassword=testonly
What version of WnSCP are you using? Make sure you have the latest one.

Reply with quote

Advertisement

You can post new topics in this forum