Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Hostkey wasn't verified!

Can you show your code and attach a relevant session log file?
getsreenuk

Re: Hostkey wasn't verified!

i'm using the winSCP.DLL and their API method calls. The examples given in the winSCP website.

Thanks & Regards
Srinivas K

martin wrote:

Can you provide more details on "when I run from C# application"? Are you using WinSCP .NET assembly or running WinSCP executable directly?

Some of these may help you:
https://winscp.net/eng/docs/faq_hostkey
https://winscp.net/eng/docs/scripting#hostkey
https://winscp.net/eng/docs/scripting#configuration
https://winscp.net/eng/docs/faq_scheduler
getsreenuk

Hostkey wasn't verified!

Hello All,

I'm facing an error "hostkey wasn't verified" when I run from C# application. But when I double click on the winSCP.exe it works fine. Please help how to resolve the issue.


Thanks in advance

KS