ClientSftpChannel - Close

[C]

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

[C++]

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

[C#]

[ClientSftpChannel] public void Close(ProgressHandler progress);

Parameters

  • [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.
     
  • [C++/.NET] progress: A ProgressHandler object to be used with the request. Optional.

Remarks

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