Back to FlowSsh Documentation

ClientSftpChannel - SetVersionHandler, OnSftpVersion


__cdecl FlowSshC_ClientSftpChannel_SetVersionHandler(
  FlowSshC_ClientSftpChannel* channel,
  FlowSshC_SftpVersionHandler handler,
  void* handlerData);


[ClientSftpChannel] virtual void OnSftpVersion(unsigned int version);


[ClientSftpChannel] public event SftpVersionEventHandler OnSftpVersion;

[C] Parameters

[Cpp/Net] Overrides and Events

  • OnSftpVersion: Invoked to report the Sftp protocol version used.
    • version: The Sftp protocol version used.


This handler reports the SFTP protocol version used to communicate with the server.