Ahh, good tip on the <cfheader name="Content-Disposition"
value="Attachment; filename=#clipname#"> bit.
I have never used that before.  Of course, that also means you burn a
thread to server the download.  I wonder if there is an easy way to link
directly to the file, but force apache or IIS to provide the same
attachment header trick.

~Brad

   -------- Original Message --------
 Subject: Re: Is it possible to trigger a link on a web page and trigger
 a download?
 From: "Wil Genovese" <[EMAIL PROTECTED]>
 Date: Thu, October 16, 2008 2:35 pm
 To: cf-talk <[email protected]>
 
 Actually you can control the way a link opens if your trying to push a
file
 when a user clicks a link. If the link is to a coldfusion page that
then
 grabs the file sets header info and content type.
 
 I do this for mp3 files.
 
 
 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314017
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to