FL_GET_CONTENT_TYPE
functionsupportedData loading & unloadingReturns the content type (also known as the MIME type) of a FILE.
Syntax
Use one of the following
FL_GET_CONTENT_TYPE( <file_expression> )
FL_GET_CONTENT_TYPE( <variant_expression> )
Parameters
| Name | Required | Description |
|---|---|---|
file_expression | required | The argument must be an expression of type FILE. |
variant_expression | required | The argument must be an OBJECT representing a FILE. |
Returns
Aa VARCHAR value with the MIME type of the file, for example 'image/png' for a PNG image file.