IFtp.DeleteAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9119)
DeleteAsync(String, TraversalMode, Object)
Deletes specified files and/or directories on the server. Accepts wildcards.
Declaration
Task DeleteAsync(string remotePath, TraversalMode traversalMode, object state = null)
Parameters
Type | Name | Description |
---|---|---|
String | remotePath | The path of the remote file or directory. |
TraversalMode | traversalMode | Traversal mode. Specifies whether the whole hierarchy or files only are transferred. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task |
DeleteAsync(FileSet, Object)
Deletes specified files and/or directories on the server.
Declaration
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 |