Uploading Multiple Files
ASP Uploader allows you to select multiple files and upload multiple files at once.
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"
'Step 4: Enable Multiple Files Upload
uploader.MultipleFilesUpload=true
uploader.SaveDirectory
=
"savefiles"
uploader.AllowedFileExtensions
=
"*.jpg,*.png,*.gif"
'Step 5: Render Uploader
uploader.Render()
%
>
</
div
>
</
body
>
</
html
>