edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
Click or drag to resize

FTPConnectionGetFiles Method (String)

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

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

Parameters

directory
Type: SystemString
Name of directory

Return Value

Type: String
An array of directory listing strings.
Remarks
The directory name can sometimes be a file mask depending on the FTP server.
See Also