That's the proper behavior. If you want them to display in the browser, 
you'll ned to change your value="attachment; " to value="inline;"

----- Original Message ----- 
From: "Michel Deloux" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Tuesday, May 24, 2005 2:49 PM
Subject: Re: Viewing files in another server/directory outside CF server


> Using CFCONTENT and CFHEADER with MS Word files show me a
> "Save/Download" screen in IE. Please look my simple code:
>
> view_files.cfm?fileX=file://CA_LA_Fresno/systems/Fresno2004_12.doc
>
> in view_files I remove file: and change / bar to \ bar and after::
>
> <cfheader name="Content-Disposition" value="attachment;
> filename=""#URL.fileX#""">
>
> <cfcontent type="application/msword" file="#URL.fileX#" deletefile="No">
>
> Whta's happened?
>
> Thanx
>
> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207590
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to