LumiSoft Net Help
DeleteFile Method (path)
NamespacesLumiSoft.Net.FTP.ClientFTP_ClientDeleteFile(String)
Deletes specified file from ftp server.
Declaration Syntax
C#Visual BasicVisual 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
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and this method is accessed.
InvalidOperationExceptionIs raised when FTP client is not connected.
ArgumentNullExceptionIs raised when path is null.
ArgumentExceptionIs raised when any of the arguments has invalid value.
FTP_ClientExceptionIs raised when FTP server returns error.

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