Ftp.DeleteFileAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9083)
DeleteFileAsync(String, Object)
Begins asynchronous DeleteFile operation. Deletes the file on the server.
Declaration
public Task DeleteFileAsync(string remotePath, object state = null)
Parameters
Type | Name | Description |
---|---|---|
String | remotePath | The pathname of the file to be deleted. Either an absolute pathname or relative to the current working directory. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task |
Implements
Remarks
Represents FTP DELE command.