Hey I got gearhost hosting, and i try an upload form:
<%
Set Upload = Server.CreateObject("Persits.Upload")
' Do not throw the "Wrong ContentType error first time out
Upload.IgnoreNoPost = True
Count = Upload.SaveVirtual(" \uploads")
If Count > 0 Then
Response.Write Count & " file(s) uploaded."
End If
%>
<HTML>
<BODY BGCOLOR="#FFFFFF">
<h3> Simple Upload</h3>
<FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="test.asp">
<INPUT TYPE="FILE" SIZE="40" NAME="FILE1"><BR>
<INPUT TYPE="FILE" SIZE="40" NAME="FILE2"><BR>
<INPUT TYPE="FILE" SIZE="40" NAME="FILE3"><BR>
<INPUT TYPE=SUBMIT VALUE="Upload!">
</FORM>
</BODY>
</HTML> |
where uploads is the next folder up, in icontrol i set all the directory permissions to write and execute, anyone know why i get the error:
Persits.Upload.1 error '800a0005'
The system cannot find the file specified.
/test/test.asp, line 5