FileGetMimeType()
Returns the mimetype of the given file
Using the Apache Tika Library
FileGetMimeType( file=any, strict=boolean );
Returns: String
Examples
file = filegetmimetype(filepath/filename.ext);
writeDump(file);
See also
- File handling
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)