Controls the way in which remote servers are validated.
Namespace: EnterpriseDT.Net.Ftp.SshAssembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40
Syntax
| C# |
|---|
public SecureFTPServerValidationType ServerValidation { get; set; } |
| Visual Basic |
|---|
Public Property ServerValidation As SecureFTPServerValidationType Get Set |
| Visual C++ |
|---|
public: property SecureFTPServerValidationType ServerValidation { SecureFTPServerValidationType get (); void set (SecureFTPServerValidationType value); } |
Remarks
It is unwise to have host validation disabled except in testing. For
Automatic or
AutomaticNoNameCheck to succeed,
the known hosts file must be loaded or at least one host key must have been
added via the KnownHosts manager.
The default is Automatic, which checks
both the hostname and public key. AutomaticNoNameCheck
only checks that the public key supplied by the server has a matching public key
in the client host key store irrespective of hostname.
For