Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: How to change upload directory??


Message #1 by "Carol Bilbao" <carolb@v...> on Thu, 16 May 2002 18:11:58
Hi all,
I am using the ASPUpload component and am 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 :-)

  Return to Index