>From my experience you can't really control the save as/open dialog from
your end.  That is generally handled by the browser and OS as they see
fit.  File formats that can be opened right there in the browser
(images, html, text) tend to just open up in that window when you click
the link.  Most other file formats like zip, exe, or rar will generally
prompt you.  Some formats like doc, xsl, or pdf depend on if the user
has MS Office or Acrobat plugins installed.  If you want the user to
always "save as" I think the only thing to do might be to prompt them to
right click the link and choose save as.

As far as prompting for the download immediately as soon as the page
loads, I often times use JavaScript to set the window.location.href to
the file and the browser will take care of the rest.  Of course, IE 7
tends to block those.

~Brad

-------- Original Message --------
Subject: Is it possible to trigger a link on a web page and trigger a
download?
From: Rick Faircloth <[EMAIL PROTECTED]>
Date: Thu, October 16, 2008 1:45 pm
To: cf-talk <[email protected]>

Hi, all...

Before I go digging around and start trying to code a solution, I'd like
to know if what I'm trying to do is even possible.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:314014
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