<CFCONTENT TYPE="file_type"
    DELETEFILE="Yes/No"
    FILE="filename"
    RESET="Yes/No">

The ColdFusion Server Basic security settings may prevent CFCONTENT from executing. These settings are managed using the ColdFusion Administrator Basic Security page. In order for CFCONTENT to execute, it needs to be enabled on the Basic Security page. Please refer to Administering ColdFusion Server for more information about securing ColdFusion tags.

TYPE

Required. Defines the File/ MIME content type returned by the current page.

DELETEFILE

Optional. Yes or No. Yes deletes the file after the download operation. Defaults to No. This attribute only applies if you are specifying a file with the FILE attribute.

FILE

Optional. Denotes the name of the file being retrieved.

RESET

Optional. Yes or No. Yes discards any output that precedes the call to CFCONTENT. No preserves the output that precedes the call. Defaults to Yes. The RESET and FILE attributes are mutually exclusive. If you specify a file, the RESET attribute has no effect. See Note.