Back to product page

CryptoInformation event


Fires with details on selected encryption protocols.

Syntax

  • Basic
Private Sub object_CryptoInformation(Protocol, RemoteName, SCcipher, CScipher, Keys, Accept)
The CryptoInformation(object,Protocol,RemoteName,SCcipher,CScipher,Keys,Accept) syntax has these parts:
objectA wodFtpDLX object.
ProtocolA String value. Specifies the selected protocol.
RemoteNameA String value. Holds the remote identification string.
SCcipherA String value. Holds the selected client to server encryption algorithm.
CScipherA String value. Holds the selected client to server encryption algorithm.
KeysA String value. Holds the selected key exchange algorithm.
AcceptA Boolean value. When set to False, wodFtpDLX will close the connection.

Remarks

The CryptoInformation event is fired after the first crypto negotiation has taken place, but before any sensitive information is sent to the server (such as username or password). This event provides you with information about the selected encryption protocols and the remote server type.

At this point you can decide whether to continue with the connection, or to abort it (by setting the Accept parameter to False), in which case wodFtpDLX will drop the connection.

Note that this event is fired only in secured protocols - it is not fired for plaintext FTP.

Platforms

Windows