winscp /command "xxx" "yyy" etc
Now, I want to put an open command on the command-line, including the -hostkey="xxx" option. Problem is, both the hostkey (which contains spaces), as well as the whole open command, need to be placed in quotes (").
I tried this, for example:
winscp /command "open sftp://name:email@example.com -hostkey=""ssh-rsa 2048 00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff"""
Is there any way to work around this? (besides demanding that the fingerprint is stored in the .ini file)