FileGetMimeType

Returns the mimetype of the given file

Returns: string

Usage

FileGetMimeType( file [, checkNotExtension ] )

Arguments

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.