I'm trying to allow users to download  particular files which are executables.
I'm also specifying the filepath for the executable.

If I use some bogus mime type in the cfcontent, I get the download dialog box with the 
coldfusion file name inside of
it such as coldfusionfile.cfm... When I save, it saves the executable that I have 
specified inside the cfcontent tag.
I just have to rename the file from coldfusionfile.cfm to myexcutable.exe, and it 
works...

 I would like to eliminate the step of having the users change the .cfm to .exe in the 
"save as" box, or renaming the file once downloaded...
Have tried using application/octet-stream for the file type, but this just shows 
binary data in the browser window and doesn't download anything.


 Thanks for any help.
   Tracy


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to