Gets files and directories in the current server directory.
Declaration Syntax
C# | Visual Basic | Visual 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
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 or FTP data connection has active read/write operation. |
FTP_ClientException | Is raised when FTP server returns error. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119