Deletes a file on the server.
Namespace:
Rebex.Net
Assembly:
Rebex.Sftp (in Rebex.Sftp.dll)
Syntax
| Visual Basic |
|---|
Public Sub DeleteFile ( _ remotePath As String _ ) |
| C# |
|---|
public void DeleteFile( string remotePath ) |
Parameters
- remotePath
- Type: System..::..String
The path to the file to be deleted.