Sftp.Delete Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9083)
Delete(String, TraversalMode)
Deletes specified files and/or directories on the server. Accepts wildcards.
Declaration
public void Delete(string remotePath, TraversalMode traversalMode)
Parameters
Type | Name | Description |
---|---|---|
String | remotePath | The path (with or without wildcards) of the remote file or directory. |
TraversalMode | traversalMode | Traversal mode. |
Implements
Delete(FileSet)
Deletes specified files and/or directories on the server.
Declaration
public void Delete(FileSet set)
Parameters
Type | Name | Description |
---|---|---|
FileSet | set | A filtering set which specifies remote files and directories to be deleted. |