PDA

View Full Version : PDF Stream Downloading!!!!



eshta
28 May 2006, 07:17 AM
When you put a link to a file like PDF you can open it from the web browser directly...but first it should be downloaded completley to see the contents...

But I noticed the some websites are providing the link in a way when you open it, it will open page by page not waiting for full downloading!!! (stream)

What is the way to make this happen? cause it is easy for the users and better who are having a low speed connection...

DanInManchester
08 Jun 2006, 11:50 AM
you need to set the content disposition header.

e.g. :


.AddHeader("Content-Disposition", "attachment; filename=myfile.pdf")