Results 1 to 2 of 2

Thread: PDF Stream Downloading!!!!

  1. #1
    Join Date
    May 2006
    Posts
    1

    PDF Stream Downloading!!!!

    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...

  2. #2
    Join Date
    Jan 2006
    Location
    Manchester England UK
    Posts
    225
    you need to set the content disposition header.

    e.g. :

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •