Back to product page
- Introduction
- Overview
- License agreement
- Getting Started
- Objects
- Enumerations
- wodSFTP
- Methods
- Abort
- About
- AppendData
- AppendFile
- Connect
- DeleteFile
- DeleteFiles
- Disconnect
- ExtendedCmd
- GetAttributes
- GetData
- GetDataAt
- GetFile
- GetFileAt
- GetFiles
- ListAttributes
- ListDir
- ListNames
- LoopFiles
- MakeDir
- PutData
- PutDataAt
- PutFile
- PutFileAt
- PutFiles
- RealPath
- RemoteClose
- RemoteOpen
- RemoteRead
- RemoteWrite
- RemoveDir
- Rename
- SetAttributes
- SetAttributes64
- Properties
- Authentication
- Blocking
- BufferSize
- ClientName
- Compression
- Encryption
- EncryptionList
- ErrorText
- Extensions
- FingerPrint
- FIPS
- HMacList
- Hostname
- KeepAlives
- KeyExchangeList
- KeySignatureList
- LastError
- ListItem
- LocalPath
- Login
- MaxTransferRate
- MyHostname
- MyIP
- Notification
- Password
- Port
- PrivateKey
- ProxyHostname
- ProxyLogin
- ProxyPassword
- ProxyPort
- ProxyType
- RemoteIdentification
- RemotePath
- Resume
- ServerErrorCode
- ServerErrorText
- State
- StateText
- Timeout
- Timezone
- TransferMode
- TransferRate
- TransferTime
- UseIPv6
- Version
- Events
- Methods
- IwodSFTPNotify
- SftpItem
- SftpItems
- How to get support?
- Technical information
- Fast notifications interface
- Error list
CryptoInformation method
Fires before wodSFTP establishes an encrypted connection with the server.
Type
NoneSyntax
- Basic
object.CryptoInformation Owner, Protocol, RemoteName, SCcipher, CScipher, Keys, Accept
The CryptoInformation(object,Owner,Protocol,RemoteName,SCcipher,CScipher,Keys,Accept) syntax has these parts:
The CryptoInformation(object,Owner,Protocol,RemoteName,SCcipher,CScipher,Keys,Accept) syntax has these parts:
object | An expression evaluating to an object of type IwodSFTPNotify. |
Owner | A wodSFTPCom object. |
Protocol | A String value. Specifies selected protocol (SSH2 is the only possibility in SFTP protocol). |
RemoteName | A String value. Holds the remote identification string. |
SCcipher | A String value. Holds the selected server to client encryption algorithm. |
CScipher | A String value. Holds the selected client to server encryption algorithm. |
Keys | A String value. Holds key exchange algorithm selected. |
Accept | A Boolean value. When set to False, wodSFTP aborts connection. |
Remarks
This method is only called if you implemented the IwodSFTPNotify interface in your application and the wodSFTP.Notification property has received a reference to an instance of your implementation.The CryptoInformation notification method is called after the first crypto negotiation has taken place, but before any sensitive information is sent to server (such as username or password). This notification 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 wodSFTP will drop the connection.