An NDoc Documented Class Library |

# FTPClient.Dir Method (String)

List a directory's contents as an array of strings of filenames.

public virtual string[] Dir(
string dirname
);

#### Parameters

dirname
  Name of directory OR filemask.

#### Return Value

An array of directory listing strings.

#### Implements

IFileTransferClient.Dir

#### See Also

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