Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Sftp.DeleteAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9147)

DeleteAsync(String, TraversalMode, Object)

Begins asynchronous Delete operation. Deletes specified files and/or directories on the server. Accepts wildcards.

Declaration
public Task DeleteAsync(string remotePath, TraversalMode traversalMode, object state = null)
Parameters
Type Name Description
String remotePath

The path (with or without wildcards) of the remote file or directory.

TraversalMode traversalMode

Traversal mode.

Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task
Implements
IFtp.DeleteAsync(String, TraversalMode, Object)

DeleteAsync(FileSet, Object)

Begins asynchronous Delete operation. Deletes specified files and/or directories on the server.

Declaration
public Task DeleteAsync(FileSet set, object state = null)
Parameters
Type Name Description
FileSet set

A filtering set which specifies remote files and directories to be deleted.

Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task
Implements
IFtp.DeleteAsync(FileSet, Object)
In This Article
  • DeleteAsync(String, TraversalMode, Object)
  • DeleteAsync(FileSet, Object)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies