edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
List the given directory's contents as an array of strings of file-names.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40

Syntax

C#
public override string[] GetFiles(
	string directory
)
Visual Basic
Public Overrides Function GetFiles ( _
	directory As String _
) As String()
Visual C++
public:
virtual array<String^>^ GetFiles(
	String^ directory
) override

Parameters

directory
Type: System..::..String
Name of directory

Return Value

An array of directory listing strings.

Remarks

The directory name can sometimes be a file mask depending on the FTP server.

See Also