Pure ASP upload - Free VB script include for upload files with progress bar

Free VBScript include file with samples | Changes

Description

       Hi-performance, pure ASP file upload script with progress bar indicator. Let's you upload multiple files with size up to 100th of MB to a disk or database (up to 10MB for free) along with another form fields.

Features of Pure-ASP file upload

  • Plain ASP text include (_upload.asp) written in VB Script
  • Free VBScript source code and samples included
  • Hi-performance multiple file upload from bytes to up to 100MB. (free for up to 10MB), see notes.
  • Easy to use, equivalent to ASP Request.Form object.
  • Fully customizable html upload progress bar, progress gallery. Demo image of Upload progressbar.
  • Secure (https/ssl) file upload
  • Custom upload size limit for whole upload (up to 100MB, SizeLimit).
  • Custom limit for each file.
  • Upload with Image (Text/HTML) preview and file size/form size preview
  • Upload/POST large text area, without ~80kB ASP request.Form(..) limit
  • Upload to email attachment, administrator email notification after upload
  • Save files with original, unique or custom file names
  • Upload to SQL/MDB database
  • Lot of samples and documentation
  • First upload script without components, long history, more than 100 000 downloads, see changes (revision history)

Downloads and links

      PureASP upload - using, features, functionality, notes.
Download Free Pure-ASP upload with progress bar free ASP include and samples, v 2.0 (IIS3/IIS4/IIS5), v1.5 (VBScript v.5, IIS4-5), v1.3 (IIS3-5)

     Download this help (chm)
     Download 60 day evaluation version of HugeASP upload (Huge-ASP upload, ScriptUtilities library, help, samples)
See Huge-ASP or Pure-ASP upload features compare.

Upload FAQ

Frequently asked questions about Pure-ASP and Huge-ASP upload functionality.

Classes

ASPForm The ASPForm collection retrieves the values of form elements posted to ASP script by a form using the POST method. ASPForm can process multipart/form-data or application/x-www-form-urlencoded data with length up to 2GB.
FormField One form field. Member of FormFields collection.
FormFields Contains collection of document fields of files.
FormStates More about state/result of a form process.


Object model

ASPForm - The ASPForm collection retrieves the values of form elements posted to ASP script by a form.
 
FormFields - Contains collection of document fields of files. (Items property, Collection of all form fields (plain form fields and files))
 
 
FormField - One form field. Member of FormFields collection. (Item property, Returns a specific member of a FormFields collection either by position or by key.)
 
FormFields - Contains collection of document fields of files. (Files property, Collection of all files in the source document.)
 
FormFields - Contains collection of document fields of files. (Texts property, Collection of all fields except files in the source document.)

Examples

 Upload - Simple upload  
<%
'Create upload form
'Using Pure-ASP file upload
Dim Form: Set Form = New ASPForm %><!--#INCLUDE FILE="_upload.asp"--><% 

  If Form.State = 0 Then
    Form.Files.Save "C:\Uploads"
  Else 
    'Handle other form states.
  End If
%>

<Body>
<form method=post ENCTYPE="multipart/form-data">

<input type="submit" value="Upload the files >>"><br>
<Div ID=files>
 File 1 : <input type="file" name="File1"><br>
 File 2 : <input type="file" name="File2">
</Div>
<Input Type=Button Value="+Add a file" OnClick=Expand()>
<Script>
  var nfiles = 2;
  Function Expand(){
    nfiles++;
    files.insertAdjacentHTML('BeforeEnd','<BR> File '+nfiles+' : <input type="file" name="File'+nfiles+'">');
  }
</Script>
</Body>
 Upload - Save all source files to the specified path  


All samples
© 1996 – 2011 Motobit Software, help{at}pstruh.cz, help v. 2.15.72