Back to FlowSsh Documentation

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

[Cpp/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.