UPLOAD.HTM
<HTML>
<BODY BGCOLOR="white">
<H1>aspSmartUpload : Eksempel</H1>
<HR>
<FORM METHOD="POST"
ACTION="Upload.asp"
ENCTYPE="multipart/form-data">
<INPUT TYPE="FILE"
NAME="FILE1"
SIZE="50"><BR>
<INPUT TYPE="FILE"
NAME="FILE2"
SIZE="50"><BR>
<INPUT TYPE="FILE"
NAME="FILE3"
SIZE="50"><BR>
<INPUT TYPE="FILE"
NAME="FILE4"
SIZE="50"><BR>
<INPUT TYPE="SUBMIT"
VALUE="Upload">
</FORM>
</BODY>
</HTML>
UPLOAD.ASP
<HTML>
<BODY BGCOLOR="white">
<H1>aspSmartUpload
: Eksempel</H1>
<HR>
<%
' Variables
' *********
Dim mySmartUpload
Dim intCount
Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload")
mySmartUpload.Upload
intCount = mySmartUpload.Save(".")
Response.Write(intCount & " file(s) uploaded.")
%>
</BODY>
</HTML>