This isn't the cleanest solution, but it works. Copy the below and paste it in a file called upload.asp in the root of your web server.
============================================================
<%
if request("upload") = "now" then
Server.ScriptTimeout=1000
ForWriting = 2
adLongVarChar = 201
lngNumberUploaded = 0
On Error Resume Next
noBytes = Request.TotalBytes
binData = Request.BinaryRead (noBytes)
Set RST = CreateObject("ADODB.Recordset")
LenBinary = LenB(binData)
strDataWhole = LenB(binData)
if LenBinary > 0 Then
RST.Fields.Append "myBinary", adLongVarChar, LenBinary
RST.Open
RST.AddNew
RST("myBinary").AppendChunk BinData
RST.Update
strDataWhole = RST("myBinary")
End if
strBoundry = Request.ServerVariables ("HTTP_CONTENT_TYPE")
lngBoundryPos = instr(1,strBoundry,"boundary=") + 8
strBoundry = "--" & right(strBoundry,len(strBoundry)-lngBoundryPos)
Set dPassword = ParseForm("Password")
Set dOptions = ParseForm("Options")
Response.Write ParseForm("Password").item(0) & ""
Response.write dPassword.item(0) & ""
response.Write ParseForm("TArea").item(0) & ""
SavePath = Server.MapPath("/") & "\"
intCount = dOptions.count
if intCount > 0 Then
For x = 0 To intCount
Select Case dOptions.item(x)
Case "Raw"
Raw = True
Case "Boundry"
Boundry = True
End Select
Next
Else
Raw = False
Boundry = False
End if
if Raw Then
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fs

penTextFile(SavePath & "\raw.txt", ForWriting, True)
f.Write strDataWhole
Set f = nothing
Set fso = nothing
End if
lngCurrentBegin = instr(1,strDataWhole,strBoundry)
lngCurrentEnd = instr(lngCurrentBegin + 1,strDataWhole,strBoundry) - 1
countloop = 0
Do While lngCurrentEnd > 0
strData = mid(strDataWhole,lngCurrentBegin, (lngCurrentEnd - lngCurrentBegin) + 1)
lngBeginFileName = instr(1,strdata,"filename=") + 10
lngEndFileName = instr(lngBeginFileName,strData,chr(34))
if lngBeginFileName = lngEndFileName and lngNumberUploaded = 0 Then
Response.Write "<H2> The following Error occured.</H2>"
Response.Write "You must Select at least one file To upload, and it must be in order from the top form."
Response.Write "<BR><BR>Hit the back button, make the needed corrections and resubmit your information."
response.Write "<BR><BR><INPUT type='button' onclick='history.go(-1)' value='<< Back' id='button'1 name='button'1>"
Response.End
End if
if lngBeginFileName <> lngEndFileName and lngBeginFileName - 10 <> 0 Then
strFilename = mid(strData,lngBeginFileName,lngEndFileName - lngBeginFileName)
if Boundry Then
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fs

penTextFile(SavePath & "\raw_" & lngNumberUploaded & ".txt", ForWriting, True)
f.Write strData
Set f = nothing
Set fso = nothing
End if
tmpLng = instr(1,strFilename,"\")
Do While tmpLng > 0
PrevPos = tmpLng
tmpLng = instr(PrevPos + 1,strFilename,"\")
Loop
FileName = right(strFilename,len(strFileName) - PrevPos)
' ---------------------------------------------------------------------------------------------------------------------
Set fso = CreateObject("Scripting.FileSystemObject")
if fso.FileExists(SavePath & "\" & FileName) then
%>
<b><%=FileName%></b> already exists!<br><br>
Hit the back button, make the needed corrections and resubmit your information.<br><br>
<input type='button' onclick='history.go(-1)' value='<< Back' id='button'1 name='button'1>
<%
Set fso = nothing
Response.End
end if
Set fso = nothing
' ---------------------------------------------------------------------------------------------------------------------
str_type = right(FileName,4)
if str_type = "tiff" or str_type = ".mpg" or str_type = "mpeg" or str_type = ".avi" or str_type = ".mov" or str_type = ".eps" then
%>
<b><%=str_type%></b> format is not permitted!<br><br>
Hit the back button, make the needed corrections and resubmit your information.<br><br>
<input type='button' onclick='history.go(-1)' value='<< Back' id='button'1 name='button'1>
<%
Response.End
end if
' ---------------------------------------------------------------------------------------------------------------------
lngCT = instr(1,strData,"Content-Type:")
if lngCT > 0 Then
lngBeginPos = instr(lngCT,strData,chr(13) & chr(10)) + 4
Else
lngBeginPos = lngEndFileName
End if
lngEndPos = len(strData)
lngDataLenth = (lngEndPos - lngBeginPos) -1
strFileData = mid(strData,lngBeginPos,lngDataLenth)
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fs

penTextFile(SavePath & "\" & FileName, ForWriting, True)
f.Write strFileData
Set f = nothing
Set fso = nothing
lngNumberUploaded = lngNumberUploaded + 1
End if
lngCurrentBegin = lngCurrentEnd
lngCurrentEnd = instr(lngCurrentBegin + 9 ,strDataWhole,strBoundry) - 1
countloop = countloop + 1
if countloop = 100 Then
Response.Write "looped 100 times terminating script!"
if rstLog.State Then rstLog.close
if conn.State Then conn.Close
Response.End
End if
loop
if rstLog.State Then rstLog.close
if conn.State Then conn.Close
response.redirect("upload.asp")
response.end()
end if
' ----------------------------------------------------------------------------------------------------
%>
Upload images through this form.
<form enctype="multipart/form-data" action="upload.asp?upload=now" method="post" id="form1" name="form1">
<input name="File1" size="60" type="file"><br>
<br>
<input type="submit" class="button" value="Upload now!">
</form>