Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2002
    Posts
    13

    Unanswered: ABCUpload Problem

    I am working on a project which requires that users can visit a web-site & upload/download txt files/images/mp3s along with providing info. in the form describing what they are uploading.

    I have web space on a server at college where these files can be uploaded. I am trying to use ABCUpload (which I have been told is installed on the server) to do some practice uploads so that I can get the feel for it.

    Despite using the exact code available at this page
    http://www.websupergoo.com/helpuploa...asicupload.htm

    I keep getting this error:

    Code:
    Microsoft VBScript runtime error '800a01b6' 
    
    Object doesn't support this property or method: 'theForm.Files' 
    
    /bsci99/pwalsh/Databases/basicupload.asp, line 5
    any help anyone can offer would be greatly appreciated

    Philby

    Here is my code for the ASP Page & the HTML Page:

    BASICUPLOAD.ASP

    <% @Language="VBScript" %>
    <%
    Set theForm = Server.CreateObject("ABCUpload4.XForm")
    theForm.Overwrite = True
    If theForm.Files("filefield").FileExists Then
    theForm.Files("filefield").Save "myupload.dat"
    End If
    %>
    <html>
    <body>
    File uploaded...
    </body>
    </html>


    BASICUPLOAD.HTML

    <html>
    <body>
    <form method="post" action="basicupload.asp" enctype="multipart/form-data">
    <input type="file" name="filefield"><br>
    <input type="submit" name="submit" value="submit">
    </form>
    </html>

  2. #2
    Join Date
    Feb 2002
    Posts
    2,232
    Have you tried hardcoding a filename or referencing it by number instead of name ?

  3. #3
    Join Date
    Nov 2002
    Posts
    13
    thanks for that hint but I think the prob is down to the fact that here at college we have a version of ABCUpload which is not the newest you can get..hence the code they have on their site isn't relevant to the older versions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •