Too many parameters for command 'open'
Good Afternoon,
Can anyone offer advice on the below? Spent days and can't figure it out.
Everything seemed to work before I specified the hostkey, now I can successfully run the connection part of the script, but not
Can anyone offer advice on the below? Spent days and can't figure it out.
Everything seemed to work before I specified the hostkey, now I can successfully run the connection part of the script, but not
rm
onwards.
winscp.com /command "open sftp://bla@bla.com/ -hostkey="C:\bla\sqlbackup\HOST.ppk" -privatekey="C:\bla\sqlbackup\SFTP.ppk" "rm TEST.TXT" "put C:\bla\sqlbackup\TEST.TXT" exit