upload.htm
<html>
<body>
<h3>文件上传演示</h3>
<form method="post" enctype="multipart/form-data" action="upload.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="上传">
</form>
</body>
</html>
<html>
<body>
<h3>文件上传演示</h3>
<form method="post" enctype="multipart/form-data" action="upload.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="上传">
</form>
</body>
</html>
upload.asp
<html>
<body>
<%
set upload = server.createobject("persits.upload")
count = upload.save(server.mappath("/"))
response.write(count & " 文件已上传到 " & server.mappath("/"))
%>
</body>
</html>