Back to FlowSsh Documentation

ClientSftpChannel - Remove


__cdecl FlowSshC_ClientSftpChannel_Remove(
  FlowSshC_ClientSftpChannel* channel,
  wchar_t const* path,
  FlowSshC_SftpHandler handler,
  void* handlerData);


[ClientSftpChannel] void Remove(
  wchar_t const* path,
  RefPtr<SftpHandler> const& response);


[ClientSftpChannel] public void Remove(
  string path,
  SftpHandler response);


  • [C] channel: FlowSshC_ClientSftpChannel pointer.
  • [C] handler: A SftpHandler function to be used with the request. Optional.
  • [C] handlerData: An application-defined value to be passed to the handler. Optional.
  • path: The remote file to be deleted. *
  • [Cpp/Net] response: A SftpHandler object to be used with the request. Optional.


Deletes a remote file. To delete a directory use [ClientSftpChannel]RmDir instead.
* See ClientSftpChannel's remarks about local and remote file namings.