A while back I was trying to map extensions to mime types.  I looked in my
registry and copied a bunch of mime types that were listed for the
extensions.  This kis what I have for exe.

application/x-msdownload

maybe try that instead of application/octet-stream?

|-----Original Message-----
|From: Tracy Bost [mailto:[EMAIL PROTECTED]]
|Sent: Tuesday, March 06, 2001 10:48 AM
|To: CF-Talk
|Subject: Need some help with CFCONTENT
|
|
|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