Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change name when streaming PDF to browser

Status
Not open for further replies.

Dawg06

Programmer
Jul 24, 2006
13
0
0
CA
Is there a way to change the name of a PDF I am generating when ColdFusion MX streams output to the browser? When I try to specify the filename it wants to save it to the server and does not open the PDF in the browser.

Any ideas?

Thanks!
 
I have looked at the docs, but this does not answer my question. What I am looking for is a way to name the pdf file yet have it output to the browser and not save to the server.
If I use filename in the cfdocument tag it will save to the server. This is not what I want it to do. I would like it to auto save to my desktop, if you use just <cfdocument format="pdf"> it will do this, BUT, I am stuck with the cfm page name as the pdf filename. Once I add filename to it it wants to save to the server.

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top