edtFTPnet/Free - Open-source FTP component for .NET | Download
Delete the specified remote file.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnet (in edtFTPnet.dll) Version: 2.2.3.0

Syntax

C#
public virtual bool DeleteFile(
	string remoteFile
)
Visual Basic
Public Overridable Function DeleteFile ( _
	remoteFile As String _
) As Boolean
Visual C++
public:
virtual bool DeleteFile(
	String^ remoteFile
)

Parameters

remoteFile
Type: System..::..String
Name of remote file to delete.

Return Value

true if file was deleted successfully.

See Also