Question
Hi, I'm looking at your site and I'm thinking about buying a distribution copy of Huge-ASP upload. I need to transfer 20-100 meg files, y'see, so I really want to use HugeASP, and I don't understand the difference with Pure-ASP upload. Except that your site says hugeASP is better for that kind of thing.
Resolution
Pure-ASP upload is is a plain VBS script file (_upload.asp) using objects installed by default in IIS - Scripting and ADODB library. So you do not need to install any additional software. Pure-ASP upload implements most of Huge-ASP upload functionality - methods and properties. You can use the same source code for Pure-ASP and Huge-ASP upload.
But the Pure-VBS code has also Pure-Performance and it is very hungry for system resources - memory and processor resources. The code has one more great characteristic - it is free to use. You can use Pure-ASP upload when
- you need upload only small files (up to megabytes, exceptionally 10th of MB)
- your provider does not enable to install external components
- you have small number of concurrent uploads
Pure-ASP upload is a VBS class. You have to include VBS code and then you can create ASPForm object using New:
<!--#INCLUDE FILE="_upload.asp"-->
<%
Dim Form
Set Form = New ASPForm
%>
Huge-ASP upload is a high-performance, low resources consumption C++ component with unique algorithm. The component is designed to accept forms of any size (from bytes to gigabytes) with maximum eficiency. Please use Huge-ASP upload in any other case.
Huge-ASP upload is COM object (created from C++ ATL library). You can create the ASPForm object using CreateObject method of Server object:
Dim Form
Set Form = Server.CreateObject("ScriptUtils.ASPForm")
Source code of ASP scripts usin Huge-ASP and Pure-ASP upload is almost same - the only difference is initialization of a Form object. So you can use Pure-ASP upload first for some time and then simply switch to Huge-ASP with changes on one row of source code.
See also
PureASP upload - using, features, functionality, notes.