How to sftp without storing any session
I try to connect to sftp thru command line interface. when connecting first time it ask me Do you want to add the host key to cache? (Yes,No,Cancel,Copy Key).
How to force the script to always select "No" option.
My script is
winscp.com /console /command "option batch on" "option confirm off" "open user:pwd@myServer -privatekey=""C:\temp\myprivateKey.ppk""" "cd Upload" "put My SFTPTest.txt" "exit" /log="C:\temp\Winscp.log"
Thanks in advance
How to force the script to always select "No" option.
My script is
winscp.com /console /command "option batch on" "option confirm off" "open user:pwd@myServer -privatekey=""C:\temp\myprivateKey.ppk""" "cd Upload" "put My SFTPTest.txt" "exit" /log="C:\temp\Winscp.log"
Thanks in advance