LumiSoft Net Help
GetFile Method (path, storePath)
NamespacesLumiSoft.Net.FTP.ClientFTP_ClientGetFile(String, String)
Gets specified file from FTP server.
Declaration Syntax
C#Visual BasicVisual C++F#
public void GetFile(
	string path,
	string storePath
)
Public Sub GetFile ( 
	path As String,
	storePath As String
)
public:
void GetFile(
	String^ path, 
	String^ storePath
)
member GetFile : 
        path : string * 
        storePath : string -> unit 
Parameters
path (String)
File absolute or relative path to the current working directory.
storePath (String)
Local file path where to store received file.
Exceptions
ExceptionCondition
ObjectDisposedExceptionIs raised when this object is disposed and this method is accessed.
InvalidOperationExceptionIs raised when FTP client is not connected or FTP data connection has active read/write operation.
ArgumentNullExceptionIs raised when path or storePath 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