Sftp.DeleteFileAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9119)
DeleteFileAsync(String, Object)
Begins asynchronous DeleteFile operation. Deletes a file on the server.
Declaration
public Task DeleteFileAsync(string remotePath, object state = null)
Parameters
Type | Name | Description |
---|---|---|
String | remotePath | The path to the file to be deleted. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task |