FileGetMimeType

Returns the mimetype of the given file

FileGetMimeType( file [, strict ] )

Returns: String

Argument Description Default
file
any, required

file path or object

Alias: FilePath, source

strict
boolean, optional

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

Alias: checkHeader, checkNotExtension

true

Examples

There are currently no examples for this function.

See also