ASP Uploader Class Reference

Uploader.ProgressTextTemplate Property

Gets or sets the progress text template. %P% = percent,%T% = seconds remain,%F% = filename. %SEND% = uploaded size , %SIZE% = file size , %KBPS% means KB/s , %KBPS% = B/s For example : %F%.. %P% %SEND%/%SIZE% , %KBPS% , %T% seconds left.


Example Code

  1. <%Language="VBScript" %>  
  2. <!-- #include file="aspuploader/include_aspuploader.asp" -->  
  3. <html>   
  4. <body>   
  5.         <form id="form1" method="POST">   
  6.             <%
  7.                 Dim uploader   
  8.                 Set uploader=new AspUploader   
  9.                 uploader.Name="myuploader"
  10.                 uploader.ProgressTextTemplate="%F%.. %P% %SEND%/%SIZE% , %KBPS% , %T% seconds left."
  11.                 uploader.Render()  
  12.             %>
  13.         </form>   
  14. </body>   
  15. </html>