If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > ABCUpload Problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-23-02, 09:14
Philby_Walsh Philby_Walsh is offline
Registered User
 
Join Date: Nov 2002
Posts: 13
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>
Reply With Quote
  #2 (permalink)  
Old 12-23-02, 17:54
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Have you tried hardcoding a filename or referencing it by number instead of name ?
Reply With Quote
  #3 (permalink)  
Old 01-20-03, 10:35
Philby_Walsh Philby_Walsh is offline
Registered User
 
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On