GetFileInfo()
Retrieves more detailed information about a file than FileInfo() but doesn't calculate a checksum, so it's faster.
GetFileInfo( file=any );
Returns: Struct
| Argument | Description |
|---|---|
|
file
any,
required
|
edit
file path Alias: filePath, source |
Examples
editfile= getTempFile(getTempDirectory(),"demo");
dump(var=getFileInfo(file), label="GetFileInfo");
dump(var=FileInfo(file), label="FileInfo");
See also
- File handling
- DirectoryInfo()
- DirectoryList()
- FileInfo()
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)