Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
–1 vote
682 views
in CompleteFTP by (110 points)

I am using WinAutomation 9.2.4.5905 which uses edtFTPnetPRO.dll for SFTP connections.
I am getting the error "System.Exception: No known hosts provided - use SecureFTPConnection.KnownHosts to add some (safe), or set ServerValidation to None (unsafe)" but there is no way to set these properties in WinAutomation.
Since WinAutomation is not supported anymore, I wonder if I can set any of those properties in the appSettings section in the application manifest instead in order to force edtFTPnetPRO to use those settings?

by (162k points)
These properties are available for XML serialization, but I don't know if WinAutomation supports this for initialising connections. However, there must be some way of setting the known hosts or the ServerValidation property, otherwise it could never have worked.

Please log in or register to answer this question.

Categories

...