Back to product page

CryptoInformation event


Fires before user established encrypted connection with the server.

Syntax

  • Basic
Private Sub object_CryptoInformation(User, Protocol, RemoteName, SCcipher, CScipher, Keys, Accept)
The CryptoInformation(object,User,Protocol,RemoteName,SCcipher,CScipher,Keys,Accept) syntax has these parts:
objectAn expression evaluating to an object of type wodFTPD.
UserA FtpUser object. Reference to object that holds information about the connected user.
ProtocolA String value. Specifies selected protocol.
RemoteNameA String value. Holds remote identification string.
SCcipherA String value. Holds server to client encryption algorithm selected.
CScipherA String value. Holds client to server encryption algorithm selected.
KeysA String value. Holds key exchange algorithm selected.
AcceptA Boolean value. When set to False, wodFTPServer aborts connection.

Remarks

CryptoInformation event is fired after the first crypto negotiation has taken place, but before any sensitive information is sent to the user (or received from the user). This event provides you with information about selected encryption protocols and remote software type client uses.

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

This event does not fire if Protocol is set to FTP - it fires only in secured protocols (SFTP and FTPS).

Platforms

Windows