I am new to Coldfusion, looking for downloading pdf file (blob) from database here my code
<cfquery name="download" datasource="#APPLICATION.datasource#">
select DOC_TEMPLATE,NAME
from EXT_FORMS where seq_id = 216
</cfquery>
<cfheader name="content-disposition" value="attachment; filename=#download.NAME#.pdf">
<cfcontent type="application/pdf" reset="true" variable="#download.DOC_TEMPLATE#">
Getting Failed to load pdf file error.