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.

Implements

IFtp..::..DeleteFile(String)

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also