ClientSftpChannel - Remove

[C]

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

[C++]

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

[C#]

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

Parameters

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

Remarks

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