Use Response.Writefile to output the PDF file.
http://msdn.microsoft.com/library/de...efiletopic.asp
Then add a line of code like this:
Response.AddHeader("Content-Disposition","attachment;filename=myfile.pdf");
The "attachment" specification requests the browser to download the file
instead of opening it. But ultimately it is up to the browser and the user
to decide what they want to do with the file; you don't have 100% control of
this from the server.
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Miguel Dias Moura" <in************@27lamps.com> wrote in message
news:ue**************@TK2MSFTNGP09.phx.gbl...
Hello,
in my web site i display some links to PDF files. This links are loaded
from a database.
Anyway, when i click these links the PDF files are open in the visitors
browser and in Acrobat.
How can i force the files to be downloaded when the person clicks the
link? I don't want to use zip files.
Thank You,
Miguel