Function FILEGETMIMETYPE
Returns the mimetype of the given file
Example
filegetmimetype(any file,[boolean checkNotExtension]):string
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
file | any | Yes | file path or object |
checkNotExtension | boolean | No | if set to true, Railo checks the header of the file, when set to false, Railo only checks the extension. |