FileInfo()

Returns detailed info about the given file.

Introduced: 5.0.0.0

FileInfo( file=string );

Returns: Struct

Argument Description
file
string, required

file path

Alias: resource

Examples

file= getTempFile(getTempDirectory(),"demo");
dump(fileInfo(file));

See also