Home
english
Home
.NET Server
Java Server
.NET Client
AJAX Client
AJAX Browser
Map Drive
Pricing
Contacts
info@ithit.com



Downloading Files

Buffering in IIS/ASP.NET

By default ASP.NET buffers content on server side before sending output. To eliminate keeping entire file content in memory before sending, turn off buffering setting BufferOutput property to false:

HttpContext.Current.Response.BufferOutput = false;

Timeout in IIS/ASP.NET

To prevent canceling script execution when downloading a large file from IIS/ASP.NET server extend the script timeout value:

HttpContext.Current.Server.ScriptTimeout = 2400; // timeout in seconds.

Range Header

The WebDAV engine provides the means for downloading only a part of a file. The client application could send Range header to specify range of bytes to download. Download managers may use this feature to resume downloads or download single file using several threads at a time.

comments powered by Disqus

Selected Customers:
USA
Symantec
Country: Sweden
Toyota
Country: USA
Microsoft
Country: Ukraine
Raiffeisen Bank
Country: USA
Siemens
Country: USA
Lockheed Martin
Country: USA
Intel Corporation
Country: Germany
SAP AG
Country: Israel
Autodesk, Inc.
Country: USA
U.S. Customs and Border Protection Agency
Have a question
about API?
Ask on StackOverflow


Found a bug or have a confidential question?
Write to info@ithit.com
Home .NET Server Java Server .NET Client AJAX Client AJAX Browser Map Drive Pricing Contacts

Updated: Saturday, October 25, 2008