edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

FTPConnectionGetFiles(String, Boolean) Method

List the given directory's contents as an array of strings of file-names or full file details.

Definition

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.7.0.0
C#
public virtual string[] GetFiles(
	string directory,
	bool full
)

Parameters

directory  String
Name of directory
full  Boolean
true if the full listing is required including file size

Return Value

String
An array of directory listing strings.

Remarks

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

See Also