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

FTPClientDirDetails(String) Method

List a 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[] DirDetails(
	string dirName
)

Parameters

dirName  String
 

Return Value

FTPFile
An array of FTPFile objects.

Implements

IFileTransferClientDirDetails(String)

Remarks

This works for Windows and most Unix FTP servers. Please inform EDT about unusual formats (support@enterprisedt.com). Note that for some servers, this will not work from the parent directory of dirname. You need to ChDir() into dirname and use DirDetails() (with no arguments).

See Also