ASP Uploader is 100% HTML and JavaScript code on the client, and ASP code on the server, and can be setup on your web server in just 5 minutes, simply by following this setup guide.

1. Deploying Uploader Client files.


The "aspuploader" folder and all file it contains (located in the archive) should be deployed to http://{your site}/{your application}/aspuploader/ on your web site.

2. Adding Uploader into ASP page.

  1. <%Language="VBScript" %>  
  2. <!--Step 1: Register Uploader to your page -->  
  3. <!-- #include file="aspuploader/include_aspuploader.asp" -->  
  4. <html>  
  5. <body>  
  6.     <div>  
  7.     <%
  8.         'Step 2: Create Uploader object     
  9.         Dim uploader   
  10.         Set uploader=new AspUploader   
  11.         'Step 3: Set a unique name to Uploader
  12.         uploader.Name="myuploader"
  13.         uploader.SaveDirectory="savefiles"  
  14.         uploader.AllowedFileExtensions="*.jpg,*.png,*.gif"  
  15.         'Step 4: Render Uploader
  16.         uploader.Render()
  17.     %>  
  18.     </div>  
  19. </body>  
  20. </html>