Script Snippets

Back        

ASP SMARTUPLOAD mixed files and forms

PassWord : 


Hidden : 


CheckBox : 

Value 1
Value 2
Value 3

Radio : 

Value 1
Value 2
Value 3

Simple Select : 


Multiple Select : 


''''''''''''''''''''' The Upload page

aspSmartUpload : Sample 5


<% ' Variables ' ********* Dim mySmartUpload Dim item Dim value Dim file ' Object creation ' *************** Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload") ' Upload ' ****** mySmartUpload.Upload ' FILES Collection ' **************** Response.Write("
Files Collection
") ' Informations about files ' ************************ Response.Write("Number of files =" & mySmartUpload.Files.count &"
") Response.Write("Total bytes of files =" & mySmartUpload.Files.TotalBytes &"
") ' Select each file ' **************** For each file In mySmartUpload.Files Response.Write(file.FileName & " (" & file.Size & "bytes)
") Next ' FORM Collection ' *************** Response.Write("
Form Collection
") ' Select each item ' **************** For each item In mySmartUpload.Form ' Select each value of the current item ' ************************************* For each value In mySmartUpload.Form(item) Response.Write(item & " = " & value & "
") Next Next %>