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

FTPConnectionGetFileInfos(String) Method

Returns the given directory's contents as an array of FTPFile objects.

Definition

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

Parameters

directory  String
Name of directory AND/OR filemask.

Return Value

FTPFile
An array of FTPFile objects.

Remarks

This method works for Windows and most Unix FTP servers. Please inform EDT about unusual formats (support@enterprisedt.com).

See Also