Lists file and directory names contained in remote folder

Namespace:  KetLabs.FTP
Assembly:  Ftp (in Ftp.dll) Version: 1.0.0.19105 (1.0.0.*)

Syntax

C#
public string[] ListDirectoryNames(
	string dirName
)
Visual Basic (Declaration)
Public Function ListDirectoryNames ( _
	dirName As String _
) As String()
Visual C++
public:
array<String^>^ ListDirectoryNames(
	String^ dirName
)

Parameters

dirName
Type: System..::.String
Remote folder name

Return Value

Array of String objects representing the contents of the specified remote folder

See Also