不建议使用序号,因为多人上传的话 ,就会重复了,一般用时间(精确到毫秒)+序号
Case "receive.htm"
Dim i As Integer = 1
For Each key As String In e.Files.Keys
For Each fln As String In e.Files(key)
e.SaveFile(key,fln,"d:\web\uploadfiles\我的图片" & Format(Date.Now,"_yyMMddHHmmssfff_") & i & ".jpg") '保存接收到的文件
i = i+1
Next
i = i+1
Next
e.WriteString("OK")