Rob, The following should work:
<cfheader name="Content-disposition" value="inline;filename=#downloadFile#" /> -Dan On Saturday, December 29, 2012, Rob Voyle wrote: > > Hi Russ > creating objects is beyond my expertise and I couldn't get the sitepoint > idea to > work. Kept getting an object error. However my suspicion is that it > wouldn't > solve my problem. > <cfheader name="Content-disposition" > value="attachment;filename=#downloadFile#" /> > forces the browser to save the file not view the file. I want people to > first view it > and then save it if they want. > > Rob > > > > On 30 Dec 2012 at 2:34, Russ Michaels wrote: > > > > > try this. > > http://www.sitepoint.com/forums/showthread.php?640127-changing-filen > > ame-of-download-in-cfcontent > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353715 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm