ColdFusion Programming/Download a pdf file
Expert: Clint Willard - 8/16/2009
QuestionI am a coldfusion newbie. I have a pdf file that is placed on my page and I need to create a link that will allow it to be downloaded from my website. I know how to do this in html, but can't figure it out in Coldfusion. Your help would be appreciated so much. Got a major deadline.
AnswerColdfusion has some powerful PDF functions but how one goes about placing a link to a ready-made PDF file for download is still the same with HTML. It's HTML that provides the functionality to links and downloads, Coldfusion is the engine behind the HTML. The answer to your question is to just do it in HTML, there's nothing special in Coldfusion to do it differently or better. However, it is possible that I misunderstood the question and maybe you want to do something else or special. If so, please clarify your question with details, thank you.