Re: Multiple Upload Controls on One Page

  •  08-18-2010, 9:29 AM

    Re: Multiple Upload Controls on One Page

    Also, how do I restrict file size?
     
            Dim uploader2   
            Set uploader2=new AspUploader   
            uploader2.Name="myuploader2"
            uploader2.MultipleFilesUpload=true
            uploader2.SaveDirectory= "images\" + Session("Usercase")
            uploader2.AllowedFileExtensions="*.jpg,*.png,*.gif,*.bmp"
            uploader2.FileTooLargeMsg="{0} cannot be uploaded!\n\nFile size ({1}) is too large. The maximum file size allowed is set to: {2}."
            uploader2.Render()
     
    as an example..
View Complete Thread