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: Too many parameters for command 'open'

Can you give us some context? What you have is a PowerShell syntax. Are you executing this from PowerShell? I do not get any error when I execute your command in PowerShell. Maybe you are executing this in a batchfile/cmd. There I get the error. In batchfile/cmd, the ` should not be there (backticks are PowerShell escape characters)
psquittieri

Too many parameters for command 'open'

winscp.com /command  "open sftp://user:password@domain.com/ -hostkey=`"`"ssh-ed25519 255 /XXXXXXXXXXXXXXXXXXX`"`" -rawsettings Shell=`"`"sudo%20su%20-`"`"" ` "put C:\scripts\Report.html /var/www/server/public/attachments/" "exit"