ASP Uploader Class Reference

Uploader.MaxSizeKB Property

Gets or sets the maximum allowed size of the file, in KB.


Example Code

  1. <%Language="VBScript" %>  
  2. <!--Step 1: Register Uploader to your page -->  
  3. <!-- #include file="aspuploader/include_aspuploader.asp" -->  
  4. <html>   
  5. <body>   
  6.         <form id="form1" method="POST">   
  7.             <%
  8.                 Dim uploader   
  9.                 Set uploader=new AspUploader   
  10.                 uploader.Name="myuploader"
  11.                 uploader.MaxSizeKB=1024
  12.                 uploader.Render()  
  13.             %>
  14.         </form>   
  15. </body>   
  16. </html>