LumiSoft Net Help
DeleteFile Method (path)
Namespaces ► LumiSoft.Net.FTP.Client ► FTP_Client ► DeleteFile(String)
Deletes specified file from ftp server.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public void DeleteFile(
    	string path
    )

    Public Sub DeleteFile (
    	path As String
    )

    public:
    void DeleteFile(
    	String^ path
    )

    member DeleteFile :
            path : string -> unit

Parameters

path (String)
  File absolute or relative path to the current working directory.

Exceptions

Exception | Condition
--- | ---
ObjectDisposedException | Is raised when this object is disposed and this method is accessed.
InvalidOperationException | Is raised when FTP client is not connected.
ArgumentNullException | Is raised when path is null.
ArgumentException | Is raised when any of the arguments has invalid value.
FTP_ClientException | Is raised when FTP server returns error.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119