Re: Whats mean the error: "This file can not be validated! at function Ox31"

  •  05-12-2010, 8:37 AM

    Re: Whats mean the error: "This file can not be validated! at function Ox31"

    The following code works, you can try it,
     
    <%@ Language="VBScript" %>
    <!-- #include file="aspuploader/include_aspuploader.asp" -->

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
     <title>
      Ajax - Multiple files upload
     </title>
     <link href="demo.css" rel="stylesheet" type="text/css" />
     <script type="text/javascript">
      var handlerurl='ajax-multiplefiles-handler.asp'
     </script>
     <script type="text/javascript">
     function CuteWebUI_AjaxUploader_OnPostback()
     {
     
     }
     </script>

    </head>
    <body>
     <div class="demo">                       
            <h2>Selecting multiple files for upload (AJAX)</h2>
      <p>ASP Uploader allows you to select multiple files and upload multiple files at once.</p>
         
       <%
       Dim uploader
       Set uploader=new AspUploader
       uploader.MaxSizeKB=10240
       uploader.Name="myuploader"
       uploader.MultipleFilesUpload=true
       uploader.SaveDirectory= "../clientes" 
       uploader.AllowedFileExtensions="*.jpg,*.png,*.gif"   
       uploader.InsertText="Select multiple files (Max 10M)"
       %>
      
       <%=uploader.GetString() %>
      
       <ol id="filelist">
       </ol> 
     </div>
    </body>
    </html>
     
     
    Regards,
    Eric
View Complete Thread