Hi,
Thanks a lot!!! it worked for me.
Kind Regards. :D
Thanks a lot!!! it worked for me.
Kind Regards. :D
Pass1234
is not a password, but a passphrase.
-passphrase
switch:
open sftp://USER@example.com -privatekey=C:\temp\SFTP\Auth.ppk -passphrase="Pass1234"
option batch abort
option confirm off
option transfer binary
open sftp://USER:Pass1234@example.com -privatekey=C:\temp\SFTP\Auth.ppk
get /home/SVC_CNOVA/in/test.txt
exit
winscp /script=C:\temp\SFTP\SFTP_Code.txt