Returns parsed list of files and directories in the current server directory.

Namespace:  Rebex.Net
Assembly:  Rebex.Ftp (in Rebex.Ftp.dll)

Syntax

Visual Basic
Public Function GetList As FtpItemCollection
C#
public FtpItemCollection GetList()

Return Value

An instance of FtpItemCollection containing the file list.

Remarks

This method will use the MLSD command if the server supports it and it is enabled (see SupportedExtensions and EnabledExtensions properties). It will use the LIST command if MLSD is not supported or disabled.

See ItemParse for information on using custom list parsers.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also