Frequently asked questions about ScriptUtilities, Pure-ASP and Huge-ASP upload functionality.
ScriptUtilities is a native 64 bit DLL in the current version, please download latest version for 64bit OS. You can also 32bit versions of ScriptUtilities on 64 bit edition of OS (for example Windows 2003 server 64 bit edition, Win 2008 64 bit) and IIS ver 6.0, 7.0, 7.5 and later.
ScriptUtilities and Huge ASP upload on 64 bit version of Windows, Windows XP 64, Windows 2003 64, Windows 2008 64, Windows 7 64bit, Windows vista 64 bit and next versions.
Solution for several problems with upload progress bar.
What version of the upload object should I use? What are differences between Huge ASP upload and Pure ASP upload?
Describes some problems with IIS6 and upload of large files.
How to handle several types of source form encoding using Huge ASP upload and ASPForm object.
Some clients have problem with upload speed. This FAQ has a short info and performance test comparisons to reveal the problem.
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.
Q: Actually I download your 60 days free evaluation version ( Huge-ASP upload, ScriptUtilities library …..) from your site. I downloaded this software some where in the month of June’02. I worked few days to check the need of our software. When I have written very small program to check it is working, then it says:
Evalution version of Huge-ASP upload was expired.
Actually we did’nt even check all features of your software for our product. And now it is not working. Please help me so that we can check more features of your software with our requirements.
ScriptUtilities and Huge-ASP upload evaluation version contains simple 60-day expiration mechanism. Please go to registry, HKEY_LOCAL_MACHINE\SOFTWARE\Pstruh key and delete License key.
Remember that the software is NOT a freeware (please see License page for ASP file upload and ScriptUtilities), you can use this feature to get more evaluation time.
Q: We've downloaded & installed the full version as instructed (first removing the old version), but we are still getting a message saying
Evaluation version of Huge-ASP upload was expired.' can you advise please?
This problem cohere with DLL locking and caching. ASPFORM.DLL and SCPTUTL.DLL are locked by dllhost.exe, ASP process. You can avoid this problem:
1. Stop w3svc service
2. Install full version of ScriptUtilities and Huge-ASP upload
3. Start w3svc service
Q: The program looks very nice. I am only wondering if the following is possible. Is it possible to upload a file without user interaction? So that the user doesn't need to select the file to upload.
I want this to be an automatic process. I know the files that need to be uploaded, so when I open the upload.asp page, I want the upload progress be executed automatically. If this is possible, where can I find it in your help?
This functionality has some of very old versions of internet browsers. There is a big security problem with such function - imagine what you can to do on a client computer with such security leak ...
We can use some work-around for such work, of course - using unsafe code - Scripting and ADODB objects. I wrote a short article with full VBS source code at http://www.motobit.com/tips/detpg_uploadvbsie.htm.
Performance tests of several methods to store files on server-side. Save file to disk, store to database.
Q: We want to purchase your product for uploading files to server. But we want to test it for larger files up to 10 -15 MB but your 60 day trial version allows us to upload only below 1MB from our web browses to our web server. I believe your ASP upload is a very good tool and we are keenly interested in buying it. SO please let me know how we can test it for more than 1 Mb.
Trial (evaluation) version of Huge-ASP upload has no functionality limit - except 60 day evaluation period. Please see ScriptUtils.ASPForm.Upload - Files and forms with large/huge size. article. The article contains info about important settings if you want to upload large files (or if you want to accept uploads on slow internet connections). The problem is probably with short ScriptTimeout or small free space on a temporary drive.
There is also a second kind of problems - proxy server between client and server. Such proxy can limit the size of post data - and the limit is usually set to 1MB.
Some common answers to handle upload data with size over allowed limit. Possible solutions, problematic situations, communication between client browser (IE and similar) and IIS server.
Question: Can I install Huge-ASP file upload without scptutl.exe file? How can I redistribute upload and scriptutilities?
ScriptUtilities and Huge-ASP upload package (scptutl.exe) contains samples,
help and two main DLLs - ASPForm.DLL and ScptUtl.DLL.
ASPForm.DLL contains Huge ASP file upload component
(ASPForm, FormFields, FormField and FormParser classes),
ScptUtl.DLL contains ScriptUtilities classes
(Kernel, ByteArray, Process, Thread, Advapi, INIFile and LogFile).
You will only need these two .DLL files. You can copy the DLLs to your server and register them by regsvr32.
You can get these files by 'ScptUtl.exe /T:c:\temp /C' command.
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 - 2011 Antonin Foller, Motobit Software | About, Contacts | e-mail: firstname.lastname@example.org