directoryList
9
3

Overview ColdFusion Open BlueDragon Lucee

Lists the directory and returns the list of files under it as array or query

Attributes

Name Required Type Default Description
3
absolute_path No The absolute path of the directory for which to list the contents. Alternatively, you can specify IP address as in the following example: DirectoryList("//12.3.123.123/c_drive/test");.
9
3
filter No String
3
listInfo No name: returns an array of names of files and directories. path: returns an array of paths of files and directories. query: returns a query.
9
4
path Yes String
9
3
recurse No Boolean
9
returnType No String
9
3
sort No String