An NDoc Documented Class Library

FTPConnection.GetFiles Method (String)

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

public virtual string[] GetFiles(
   string directory
);

Parameters

directory
Name of directory

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