An NDoc Documented Class Library |

# FTPClient.DirDetails Method (String)

List a directory's contents as an array of FTPFile objects.

public virtual FTPFile[] DirDetails(
string dirname
);

#### Parameters

dirname
  Name of directory OR filemask (if supported by the server).

#### Return Value

An array of FTPFile objects.

#### Implements

IFileTransferClient.DirDetails

#### 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

FTPClient Class | EnterpriseDT.Net.Ftp Namespace | FTPClient.DirDetails Overload List