View Full Version : ASPUpload Assistance
homeacademy
01-08-2004, 04:36 AM
I'm trying to use ASPUpload very simply as follows:
Calling page:
[quote]<html>
<head>
</head>
[b]
<formaction="aspupload1.asp"method="post"enctype="multipart/form-data">
<inputtype="file"size="40"name="FILE1"/>
[b]
<inputtype="submit"value="Upload!"/>
</form>
</body>
</html></CODE>
Upload Processing Page:
[quote]<HTML>
[b]
<%
SetUpload=Server.CreateObject("Persits.Upload")
count=upload.savevirtual("/uploaded/")
Response.WriteCount&"file(s)uploaded"
%>
</BODY>
</HTML></CODE>
I get the following error when trying to upload:
[quote]Persits.Upload.1error'800a0005'
Thesystemcannotfindthefilespecified.
/aspupload/aspupload1.asp,line6</CODE>
I have created a folder called 'uploaded' under my aspupload directory and my root. I'm not sure what I'm doing wrong. I did some googling and it appears this error can be spawned because of a permission error. However, I went to permission manager in CP and the anonymous user has read/write perms to everything. Thanks in advance for any assistance.
bruce
01-08-2004, 05:04 AM
This code is trying to write to /upload directory instead of /aspupload/upload. I don't know where this code is located exactly on the server but the path looks wrong to me.
[b]quote:Originally posted by homeacademy
I'm trying to use ASPUpload very simply as follows:
Calling page:
[quote]<html>
<head>
</head>
[b]
<formaction="aspupload1.asp"method="post"enctype="multipart/form-data">
<inputtype="file"size="40"name="FILE1"/>
[b]
<inputtype="submit"value="Upload!"/>
</form>
</body>
</html></CODE>
Upload Processing Page:
[quote]<HTML>
[b]
<%
SetUpload=Server.CreateObject("Persits.Upload")
count=upload.savevirtual("/uploaded/")
Response.WriteCount&"file(s)uploaded"
%>
</BODY>
</HTML></CODE>
I get the following error when trying to upload:
[quote]Persits.Upload.1error'800a0005'
Thesystemcannotfindthefilespecified.
/aspupload/aspupload1.asp,line6</CODE>
I have created a folder called 'uploaded' under my aspupload directory and my root. I'm not sure what I'm doing wrong. I did some googling and it appears this error can be spawned because of a permission error. However, I went to permission manager in CP and the anonymous user has read/write perms to everything. Thanks in advance for any assistance.
</blockquote id="quote"></font id="quote">
homeacademy
01-09-2004, 04:50 AM
Thank you for your reply. Let me clairify: the pages are located at, for example, /htdocs/aspupload/aspupload1.asp The uploaded directory was located at both /htdocs/uploaded/ and /htdocs/aspupload/uploaded/. Just for fun, I changed the code below to:
[quote]<%
SetUpload=Server.CreateObject("Persits.Upload")
count=upload.savevirtual("/aspupload/uploaded</fontid="red">")
Response.WriteCount&"file(s)uploaded"
%></CODE>
but it still returned the same error message. What should I try next?
bruce
01-09-2004, 06:13 AM
Check the permission in the permission manager and make sure anonymouse user have change permission.
if you have frontpage enabled, you may need to contact support to reset permission
[b]quote:Originally posted by homeacademy
Thank you for your reply. Let me clairify: the pages are located at, for example, /htdocs/aspupload/aspupload1.asp The uploaded directory was located at both /htdocs/uploaded/ and /htdocs/aspupload/uploaded/. Just for fun, I changed the code below to:
[quote]<%
SetUpload=Server.CreateObject("Persits.Upload")
count=upload.savevirtual("/aspupload/uploaded</fontid="red">")
Response.WriteCount&"file(s)uploaded"
%></CODE>
but it still returned the same error message. What should I try next?
</blockquote id="quote"></font id="quote">
homeacademy
01-10-2004, 06:53 AM
I checked in Permission Manager and user 'anonymous' was listed as having read & write perms. I do have frontpage installed, so I e-mailed support requesting them to check the permissions on my directory and received: "I checked the permission on your site, it looks like it has adequate permission (change)".
Are you able to use this component to upload successfully under your test account?
bruce
01-12-2004, 12:30 PM
We use this test code to test if this component. This code definitely works.
If you use FrontPage, there's one possibility. FPSE sometimes turn off permission inheritence, this will cause the permission manager to report incorrect permission. Email support again to double check and refer to this posting (past the URL of this posting)
[b]quote:Originally posted by homeacademy
I checked in Permission Manager and user 'anonymous' was listed as having read & write perms. I do have frontpage installed, so I e-mailed support requesting them to check the permissions on my directory and received: "I checked the permission on your site, it looks like it has adequate permission (change)".
Are you able to use this component to upload successfully under your test account?
</blockquote id="quote"></font id="quote">
homeacademy
01-14-2004, 11:23 AM
Sorry for taking so long to get back to you. I e-mailed support with a link to this posting, and they told me Frontpage had destroyed the permissions and all had been reset. ASPUpload is working great now. You all really have the best support. Thanks [:)]
bruce
01-14-2004, 11:46 AM
FrontPage is evil!!!!!
[}:)][}:)][}:)]
[b]quote:Originally posted by homeacademy
Sorry for taking so long to get back to you. I e-mailed support with a link to this posting, and they told me Frontpage had destroyed the permissions and all had been reset. ASPUpload is working great now. You all really have the best support. Thanks [:)]
</blockquote id="quote"></font id="quote">
vBulletin® ©Jelsoft Enterprises Ltd.