File Writing Performance
Hello Everyone and thanks for your help in advance. I am writing an application that needs to access PDF and DOC files. My dilemna is in the securing of these files. I would prefer to not place them on the webserver, but instead, bury them somewhere else where there is NTFS security, then access them through the ASP.Net page. However, the problem comes in the size of the files. The PDF's are about 10MB. When I tried reading them as a binary stream, then writing it to the browser (including buffering in 10K chunks) the file takes around 7 minutes to transfer using a high-speed connection. Obviously unacceptable. I am not sure if there is a better way to do this. Any help would be greatly appreciated. Thanks.
|