Object required: 'jfile' ERROR - Please Help

  •  03-01-2010, 3:46 PM

    Object required: 'jfile' ERROR - Please Help

    Hi guys, we are getting this error when using the form-multiplefile.asp example provided in the ZIP. 

    Microsoft VBScript runtime error '800a01a8'
    Object required: 'jfile'
    ASPUploader/aspuploader/include_aspuploader.asp, line 447
     
    We've replaced the license with the new one from CuteSoft, that didn't fix it. 
    Below is the code we used from form-multiplefiles.asp example:
     
      <%
       Dim uploader
       Set uploader=new AspUploader
       uploader.MaxSizeKB=10240
       uploader.Name="myuploader"
       uploader.SaveDirectory="savefiles"
       uploader.AllowedFileExtensions="*.jpg,*.png,*.gif,*.doc,*.html"
       uploader.InsertText="Upload File (Max 10M)"
       uploader.MultipleFilesUpload=true
       %>
       <%=uploader.GetString() %>
       </form>
       
       <br/><br/>
    <%

    If Request.Form("myuploader")&""<>"" Then

     Dim list,i
     list=Split(Request.Form("myuploader"),"/")

     For i=0 to Ubound(list)
      if i>0 then
       Response.Write("<hr/>")
      end if
      Dim mvcfile
      Set mvcfile=uploader.GetUploadedFile(list(i))

      Response.Write("<div style='font-family:Fixedsys'>")
      Response.Write("Uploaded File:")
      Response.Write("<br/>FileName : ")
      Response.Write(mvcfile.FileName)
      Response.Write("<br/>FileSize : ")
      Response.Write(mvcfile.FileSize)
      Response.Write("<br/>FilePath : ")
      Response.Write(mvcfile.FilePath)
      Response.Write("</div>")
     Next
    End If

    %>
     

    Any thoughts or suggestions would be very much appreciated.  Thanks in advance!
View Complete Thread