Real problems and limitations with very large posts, current internet browsers (Internet Eplorer, Mozilla firefox, Google Chrome, Opera) and several versions of Internet information server and ASP.
Q: Hi, is it possible to set the upload limit on Huge ASP to a file size greater than 2gb? 2gb is too small, we are needing to upload hi-res video files of 3.5gb at times.
Current version of Huge ASP upload is designed to work with up to 4GB files (2GB 2.2 version and older). The reason for the limit is simple - major browsers did not support upload of bigger files than 2GB over internet and ASP in both 32bit/64bit IIS3-5 also accepts only 2GB files, no more. New browsers (Opera, Chrome) support bigger files, IIS6 and IIS7 suport 4GB limit in 32/64bit versions, so the 2.3 version of Huge ASP upload has the 4GB limit.
|Internet explorer 32bit||All versions (3-8)||2GB-1|
|Internet explorer 64bit||v. 8||2GB-1 (!)|
|Mozilla Firefox||All versions||2GB-1|
|Google chrome||All versions||>4GB|
|Huge ASP upload||2.3||4GB-1|
|Huge ASP upload||<2.2||2GB-1|
I tried several browsers to upload files over 2gb and results ot the tests are on this page.
Upload file over 2GB - you cannot post such file, Mozilla does not send request with bigger file to server
Upload two or more files with size summary size >2GB - Mozilla send such files, but http headers are funny:
POST /content-length-test.htm HTTP/1.1 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US) Gecko/20060909 Firefox/22.214.171.124 Content-Type: multipart/form-data; boundary=---------------------------28146504217367 Content-Length: -1618952669
But IIS doesn't know what means "Content-Length: -1618952669" and it answers "Bad request"
The results with IE are similar - IE allows to post file over 2GB, but the http headers looks like in Mozilla:
POST /upload/Upload-Progress ASP HTTP/1 1
Referer: http://triple/upload/Upload-Progress ASP
User-Agent: Mozilla/4 0 (compatible; MSIE 8 0; Windows NT 6 1; Win64; x64; Trident/4 0; NET CLR 2 0 50727; SLCC2)
Content-Type: multipart/form-data; boundary=---------------------------7da3dd296066e
Both of 32bit and 64bit versions of Internet Explorer has the same bug - they can only upload files up to 2GB.
Both major internet browsers (IE, FF) simply count content-length of uploads in 32bit signed integer, so their results are unusable for very large uploads over 2GB.
Google chrome (32bit version) and Opera can upload files of 2GB, 4GB or more size without problems.
I have prepared a simple test for IIS6 - POST with 30GB Content-Length:
POST /content-length-test.asp HTTP/1.1
Content-Type: multipart/form-data; boundary=--------------------------------08235985
User-Agent: Hammoun/1.0 (WinNT 5.2.3790;Service Pack 1)
And the IIS/ASP answer is next:
HTTP/1.1 500 Internal Server Error Content-Type: text/html Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET <html><head><title>Error</title></head><body>Arithmetic result exceeded 32 bits.
You can post up to 4GB to IIS Huge ASP upload accepts 4GB as maximum form size.
ASP Request.Totalbytes returns -1 for post size over 2GB, ASP self can process 2GB data.
Frequently asked questions about ScriptUtilities, Pure-ASP and Huge-ASP upload functionality.
Huge ASP upload is easy to use, hi-performance ASP file upload component with progress bar indicator. This component lets you upload multiple files with size up to 4GB to a disk or a database along with another form fields. Huge ASP file upload is a most featured upload component on a market with competitive price and a great performance . The software has also a free version of asp upload with progress, called Pure asp upload , written in plain VBS, without components (so you do not need to install anything on server). This installation package contains also ScriptUtilities library. Script Utilities lets you create hi-performance log files , works with binary data , you can download multiple files with zip/arj compression, work with INI files and much more with the ASP utility.
© 1996 - 2014 Antonin Foller, Motobit Software | About, Contacts | (Find us on Google+)