Deletes the remote file from the FTP server.

Namespace: Jscape.Ftp
Assembly: Jscape.Ftp (in Jscape.Ftp.dll) Version: 2.4.5.0

Syntax

C#
public void DeleteFile(
	string remoteName
)
Visual Basic
Public Sub DeleteFile ( _
	remoteName As String _
)
Visual C++
public:
void DeleteFile(
	String^ remoteName
)

Parameters

remoteName
Type: System..::..String
The remote filename to delete.

Exceptions

ExceptionCondition
Jscape.Ftp..::..FtpExceptionIf an I/O or FTP error occurs.

See Also