FtpClient.GetNameListing Method

System.Net.FtpClient

Collapse image Expand Image Copy image CopyHover image
Returns a file/directory listing using the NLST command.

Namespace: System.Net.FtpClient
Assembly: System.Net.FtpClient (in System.Net.FtpClient.dll) Version: 1.0.5064.17461

Syntax

C#
public string[] GetNameListing()
Visual Basic
Public Function GetNameListing As String()
Visual C++
public:
virtual array<String^>^ GetNameListing() sealed

Return Value

Type: array<String>[]()[][]
A string array of file and directory names if any were returned.

Implements

IFtpClient..::..GetNameListing()()()()

See Also