directoryInfo

Returns a struct of information about a directory, such as its size, mode and last modified date.

directoryInfo(source) → returns struct

This function requires Lucee 6.0.0.151 and up.  Not supported on Adobe ColdFusion, etc.

Argument Reference

source string
Required

The path of the directory.

Examples
Sample code invoking the directoryInfo function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub