Description
-
Called when user wants to authenticate to the server.
Return Type
-
None
Syntax
-
object.CryptoInformation Owner, Protocol,
RemoteName, SCcipher, CScipher, Keys, Accept
The CryptoInformation Method syntax has these parts:
| object |
An expression
evaluating to an object of type wodFTPDNotify. |
| Owner |
A wodFTPDCom object. Reference
to wodFTPServer instance that called this notification
method. |
| User |
A FtpUser object. Reference to
object that holds information about the connected user. |
|
Protocol |
A String value. Specifies
selected protocol. |
|
RemoteName |
A String value. Holds remote
identification string. |
|
SCcipher |
A String value. Holds server
to client encryption algorithm selected. |
|
CScipher |
A String value. Holds client
to server encryption algorithm selected. |
|
Keys |
A String value. Holds key
exchange algorithm selected. |
|
Accept |
A Boolean value. When set to
False, wodFTPServer aborts connection. |
Remarks
-
NOTE: This method is called only if you
implemented IwodFTPDNotify interface in your application, and
wodFTPD.Notification
property has received reference to instance of your implementation.
CryptoInformation notification method is called after the first
crypto negotiation has taken place, but before any sensitive
information is sent to the user (or received from the user). This
notification method 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).
|