PDA

View Full Version : ASPUpload


Scott McLain
03-30-2006, 01:24 AM
Trying to get this working and striking out. Got two simple pages:

demo1.asp
<html>
<head>
</head>
[b]
<form action="aspupload1.asp" method="post" enctype="multipart/form-data">
<input type="file" size="40" name="FILE1" />
[b]
<input type="submit" value="Upload!" />
</form>
</body>
</html>



aspupload1.asp
<HTML>
[b]
<%
Set Upload = Server.CreateObject("Persits.Upload")
count = upload.savevirtual ("/mp3_uploads")
Response.Write Count &amp; " file(s) uploaded"
%>
</BODY>
</HTML>



I have created the mp3_uploads directory at the root level of the website and allowedanonymous writepermissions.

Any help would be greatly appreciated.

Aristotle
03-30-2006, 01:30 AM
Check your Anonymous IUSR user's disk quota in the User/Quota Manager. Make sure it has enough disk space free.

Aristotle

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

Scott McLain
03-30-2006, 01:37 AM
That was it, thanks!!!