FileGetMimeType

Returns the mimetype of the given file

FileGetMimeType( file [, checkNotExtension ] )

Returns: String

Argument Description Default
file
any, required

file path or object

checkNotExtension
boolean, optional

if set to true, Lucee checks the header of the file, when set to false, Lucee only checks the extension.

true

Examples

There are currently no examples for this function.

See also