Deployment ASP Uploader
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.
- <% @ Language="VBScript" %>
- <!--Step 1: Register Uploader to your page -->
- <!-- #include file="aspuploader/include_aspuploader.asp" -->
- <html>
- <body>
- <div>
- <%
- 'Step 2: Create Uploader object
- Dim uploader
- Set uploader=new AspUploader
- 'Step 3: Set a unique name to Uploader
- uploader.Name="myuploader"
- uploader.SaveDirectory="savefiles"
- uploader.AllowedFileExtensions="*.jpg,*.png,*.gif"
- 'Step 4: Render Uploader
- uploader.Render()
- %>
- </div>
- </body>
- </html>