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

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

Syntax

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

Parameters

directory
Type: System..::..String
Name of directory
full
Type: System..::..Boolean
true if the full listing is required including file size

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