ComponentSpace FTP Class Library Reference

RemoteFile.Delete Method 

Delete the remote file.

[Visual Basic]
Public Sub Delete( _
   ByVal pathName As String _
)
[C#]
public void Delete(
   string pathName
);

Parameters

pathName
The remote file path name.

Exceptions

Exception Type Condition
FtpException Thrown when the delete fails.

See Also

RemoteFile Class | ComponentSpace.Ftp Namespace