Back to FlowSsh Documentation

ClientSftpChannel - Close


__cdecl FlowSshC_ClientSftpChannel_Close(
  FlowSshC_ClientSftpChannel* channel,
  FlowSshC_ProgressHandler handler,
  void* handlerData);


[ClientSftpChannel] void Close(RefPtr<ProgressHandler> const& progress);


[ClientSftpChannel] public void Close(ProgressHandler progress);


  • [C] channel: FlowSshC_ClientSftpChannel pointer.
  • [C] handler: A ProgressHandler function to be used with the request. Optional.
  • [C] handlerData: An application-defined value to be passed to the handler. Optional.
  • [Cpp/Net] progress: A ProgressHandler object to be used with the request. Optional.


Initiates a close operation. Sending a request after [ClientSftpChannel]Close will fail with a "SFTP channel is closed" message.