An NDoc Documented Class Library |

# FTPConnection.GetFiles Method (String, Boolean)

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

public virtual string[] GetFiles(
string directory,
bool full
);

#### Parameters

directory
  Name of directory
full
  true if the full listing is required including file size

#### Return Value

An array of directory listing strings.

#### Remarks

The directory name can sometimes be a file mask depending on the FTP server.

#### See Also

FTPConnection Class | EnterpriseDT.Net.Ftp Namespace | FTPConnection.GetFiles Overload List