<cfheader name="Content-Disposition" value="inline; filename=""#GetFileFromPath(URL.fileX)#"""> <cfcontent type="application/msword" file="#URL.fileX#" deletefile="No">
Does this work the way you intended?? Pascal > -----Original Message----- > From: Michel Deloux [mailto:[EMAIL PROTECTED] > Sent: 25 May 2005 16:55 > To: CF-Talk > Subject: Re: Viewing files in another server/directory outside CF server > > Thanks Deanna > > but displaying all files in Mozilla works fine. But with IE that same > code, same link, same properties don't. IE displays a "Unknown file - > Do you want to save, open, cancel, bla bla bla"... What's happening? > > Thanx for your time. > > 2005/5/24, Deanna Schneider <[EMAIL PROTECTED]>: > > 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" <cf-talk@houseoffusion.com> > > 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 > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207650 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54