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




2005/5/24, Dave Watts <[EMAIL PROTECTED]>:
> > using CFCONTENT and CFHEADER I need to get that file right? After
> > that I can send that file to user browser... Works with users with
> > no server "rights"?
> 
> Yes, you would be fetching the file with CF, then returning it to the
> browser.
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> 
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:207583
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

Reply via email to