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

FTPConnectionGetFiles(String) Method

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

Definition

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

Parameters

directory  String
Name of directory

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