p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

asp_components thread: ASPUpload Issues


Message #1 by "Carol Bilbao" <carolb@v...> on Thu, 16 May 2002 18:39:09
Hi all,
I am using the ASPUpload component and getting this error:

Persits.Upload.1 error '800a0005' 

The system cannot find the path specified. 

Since the directory resides on an external server, I am trying to upload 
to a directory I created at the server. Here is my code:

<%
Set Upload=Server.CreateObject("Persits.Upload.1")
Count = Upload.Save(".\upload")
%>

Which is called from a previous page with a form:

<form ENCTYPE="multipart/form-data" method="post" 
action="UploadScript1.asp" >
<input type=FILE size=60 name="FILE1"><br>
<input type=FILE size=60 name="FILE2"><br>
<input type=FILE size=60 name="FILE3"><br>
<input type=SUBMIT VALUE="Upload">
</form>

Any help would be appreciated :-)
Message #2 by "Subash Reddy(Ext 232)" <subash@d...> on Fri, 17 May 2002 09:04:34 +0800
Hello

When u r uploading. it not finding the path.so  you use
this code
myPath = server.mathpath("yourFloder/")
it may work



----- Original Message -----
From: Carol Bilbao <carolb@v...>
To: ASP components <asp_components@p...>
Sent: Thursday, May 16, 2002 6:39 PM
Subject: [asp_components] ASPUpload Issues


> Hi all,
> I am using the ASPUpload component and getting this error:
>
> Persits.Upload.1 error '800a0005'
>
> The system cannot find the path specified.
>
> Since the directory resides on an external server, I am trying to upload
> to a directory I created at the server. Here is my code:
>
> <%
> Set Upload=Server.CreateObject("Persits.Upload.1")
> Count = Upload.Save(".\upload")
> %>
>
> Which is called from a previous page with a form:
>
> <form ENCTYPE="multipart/form-data" method="post"
> action="UploadScript1.asp" >
> <input type=FILE size=60 name="FILE1"><br>
> <input type=FILE size=60 name="FILE2"><br>
> <input type=FILE size=60 name="FILE3"><br>
> <input type=SUBMIT VALUE="Upload">
> </form>
>
> Any help would be appreciated :-)
>
%%email.unsub%%
>


  Return to Index