<cfheader name="Content-Disposition" value="attachment;filename=#filename#">


note that you will need quotes around the filename if it has spaces in it,
and you have to play with the quotes (double quotes outside and single
quotes inside, or the other way around, I can never remember).

On 4/12/06, Zaphod Beeblebrox <[EMAIL PROTECTED]> wrote:
>
> old, old, problem that I seem to have forgotten the solution to.
>
> If I have a CF template that serves docuements, how can I structure the
> link
> so that when the user right clicks on it and chooses "Save Link As", it
> won't pop up index.cfm, but give them the name of the report.
>
> Currently my link shows
>
> http://www.myserver.com/index.cfm?fa=report.view&uid={snipped]/This is the
> report name.pdf
>
>
>
> --
> America spells competition, join us in our blind ambition
> get yourself a brand new motor car.
> And someday soon we'll stop to ponder
> what on earth's this spell we're under
> we made the grade and still we wonder
> Who the hell we are!, "The Grand Illusion", Styx
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:203984
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to