Still was hoping someone could give me a sure-shot answer if byte streaming is supported when a PDF file is served using binarywrite().
I tried the above test but both files seem to open up equally fast however I'm still not convinced.
If I don't get an answer, I'll gladly give khkremer the points for his effort and good suggestions too.
Main Topics
Browse All Topics





by: khkremerPosted on 2005-03-24 at 10:07:33ID: 13624294
Any recent version of IIS does support byte-serving (which means that IIS 5.0 is OK). I do however not know if this is compatible with "binarywrite". I actually doubt it, because byte serving requires that the web server can access any part of the file. It's pretty easy to find out if byte-serving is supported: Open a large PDF file via the web server, and verify that the first page displays before the full file is downloaded, then do a "goto to page" and jump to e.g. the last page in the document. Does this page show up with only a small delay? Is this working for normally served files? If that's the case, does it also work with your files served via binarywrite?
If you find out that binarywrite() served files do not support byte serving, you need to think about a different way to serve them, but still making sure that direct connections do not work.