I am having trouble with opening a file using cfcontent. The filename presented in the open/save dialog is the name of the cfm page. I have tried using a cfheader, but that does not help either:
<CFHEADER NAME="Content-disposition" value="attachment; filename=#MyFile#">
<CFCONTENT TYPE="unknown" DELETEFILE="No" FILENAME="#MyFile#">
I have also tried using the inline value for cfheader to no avail.
The file I want to open has the extension .jrp, and I want the file to open the associated application using the filename as a parameter. I have registered the filetype .jrp in windows explorer.
What am I doing wrong?