Deletes the file on the server.

Namespace:  Rebex.Net
Assembly:  Rebex.Ftp (in Rebex.Ftp.dll)

Syntax

Visual Basic
Public Sub DeleteFile ( _
	remotePath As String _
)
C#
public void DeleteFile(
	string remotePath
)

Parameters

remotePath
Type: System..::..String
The pathname of the file to be deleted. Either an absolute pathname or relative to the current working directory.

Implements

IFtp..::..DeleteFile(String)

Remarks

Represents FTP DELE command.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also