Too many parameters for command 'open'.
Hi,
I'm trying to upload a file to a sftp server using the following command:
The content of the commands.dat file:
I'm using winscp575. If I google the error the only thing I find is that i should use a newer version; but as far as i know this one is the most recent atm.
Please help; thanks already!
Jochem
I'm trying to upload a file to a sftp server using the following command:
D:\DefactoLMS\WinSCP.com /script=D:\DefactoLMS\commands.dat
The content of the commands.dat file:
open sftp://username@domain.com –privatekey="D:\Send\privat_key.ppk" -passphrase="[mypassphrase]"
option batch abort
option confirm off
put D:\Send\test.txt
exit
I'm using winscp575. If I google the error the only thing I find is that i should use a newer version; but as far as i know this one is the most recent atm.
Please help; thanks already!
Jochem