LumiSoft Net Help
GetList Method (path)
NamespacesLumiSoft.Net.FTP.ClientFTP_ClientGetList(String)
Gets files and directories in the current server directory.
Declaration Syntax
C#Visual BasicVisual C++F#
public FTP_ListItem[] GetList(
	string path
)
Public Function GetList ( 
	path As String
) As FTP_ListItem()
public:
array<FTP_ListItem^>^ GetList(
	String^ path
)
member GetList : 
        path : string -> FTP_ListItem[] 
Parameters
path (String)
Directory or file name which listing to get. Value null means current directory will be listed.
Return Value
array<FTP_ListItem>[]()[][]
Returns current working directory listing.
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.
FTP_ClientExceptionIs raised when FTP server returns error.

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