ClientSftpChannel - SetVersionHandler, OnSftpVersion
[C]
__cdecl FlowSshC_ClientSftpChannel_SetVersionHandler(
FlowSshC_ClientSftpChannel* channel,
FlowSshC_SftpVersionHandler handler,
void* handlerData);
[C++]
[ClientSftpChannel] virtual void OnSftpVersion(unsigned int version);
[C#]
[ClientSftpChannel] public event SftpVersionEventHandler OnSftpVersion;
[C] Parameters
- channel: FlowSshC_ClientSftpChannel pointer.
- handler: A SftpVersionHandler function.
- handlerData: An application-defined value to be passed to the handler. Optional.
[C++/.NET] Overrides and Events
- OnSftpVersion: Invoked to report the Sftp protocol version used.
Parameters:- version: The Sftp protocol version used.
Remarks
This handler reports the SFTP protocol version used to communicate with the server.