Deletes the remote file from the FTP server.
Namespace: Jscape.FtpAssembly: 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
Exception | Condition |
---|---|
Jscape.Ftp..::..FtpException | If an I/O or FTP error occurs. |