Okay...I'm stumped and can't figure this out.

This works...
<cfcontent
file="c:\Inetpub\documents\#replace(attributes.filename,"..","","all")#"
type="application/msword">

and naturally this will work also...
<cfcontent
file="c:\Inetpub\documents\#replace(attributes.filename,"..","","all")#"
type="application/x-msexcel">

but this however, does not work...
<cfcontent
file="c:\Inetpub\documents\#replace(attributes.filename,"..","","all")#"
type="application/msword,x-msexcel">

nor this...
<cfcontent
file="c:\Inetpub\documents\#replace(attributes.filename,"..","","all")#"
type="application/msword,application/x-msexcel">

nor this...
<cfcontent
file="c:\Inetpub\documents\#replace(attributes.filename,"..","","all")#"
type="application/*">

Any fresh ideas?

I need to be able to read msword and excel files via the browser but it
seems as if <cfcontent> will let you choose only one mime-type...

TIA,

Greg Z

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

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to