Re: How to sftp without storing any session
You are not suppoed to get hostkey by the script. You should know the hostkey before and use it in the script.
Please read:
https://winscp.net/eng/docs/ssh[/quote]
Thanks Prikryl. I will save the session first and then use it thru my script.