When I want to download a file from a Cold Fusion page, I use the CFCONTENT tag, for example:
<CFCONTENT TYPE="application/msexcel" FILE="#vFilePath#DEPT.xls" DELETEFILE="No">
When the save box shows on the client, it always defaults the extension to .cfm.
Does anybody know how we can fix this?
Also, is there any other way of initiating a download?
<CFCONTENT TYPE="application/msexcel" FILE="#vFilePath#DEPT.xls" DELETEFILE="No">
When the save box shows on the client, it always defaults the extension to .cfm.
Does anybody know how we can fix this?
Also, is there any other way of initiating a download?