Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 21st, 2004, 01:58 PM
Authorized User
 
Join Date: Jul 2003
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.

 
Old May 21st, 2004, 03:10 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Can you break up the file at all, and make it into chunks?
 
Old May 21st, 2004, 05:32 PM
Authorized User
 
Join Date: Jul 2003
Posts: 98
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No, resizing is not an option.






Similar Threads
Thread Thread Starter Forum Replies Last Post
writing into a file in linux file system anboss XSLT 6 June 19th, 2008 01:56 PM
Performance (xsl:element and file size) jaybytez XSLT 1 June 6th, 2007 02:54 PM
Excel Vs CSV file - import performance itHighway Classic ASP Databases 0 August 5th, 2006 03:40 PM
writing to am xml file MOU Classic ASP XML 0 July 6th, 2005 07:38 AM
File Upload Performance acdsky Classic ASP Professional 2 February 25th, 2004 11:02 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.