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>