如何使用asp上传HTML5 单input多文件 |
wx12OH http://blog.numino.net/ If you have a form which submits multiple values of the same form variable you can separate them as follows. LKq49d http://blog.numino.net/ For i = 1 to Request.form("myforminput").Count 3q80lY http://blog.numino.net/ If Request.form("myforminput")(i) <> "" then v8cTmP http://blog.numino.net/ Response.write Request.form("myforminput")(i) & "<br />" iFeP67 http://blog.numino.net/ End if ch7O4n http://blog.numino.net/ Next TzzDYG http://blog.numino.net/ It might be worth trying the same approach - ie: 0S4nvd http://blog.numino.net/ For i = 1 to (objUpload.Form("thefile").value).Count CK43Pp http://blog.numino.net/ If (objUpload.Form("thefile").value)(i) <> "" then xE0UVO http://blog.numino.net/ Response.write (objUpload.Form("thefile").value)(i) & "<br />" xrqAFy http://blog.numino.net/ End if LYVlyp http://blog.numino.net/ Next 2KiYfp http://blog.numino.net/ Because there's a third party component involved it may complicate things so I can't guarantee this will work. Check the component's documentation if it is available, particularly with respect to counting the number of files uploaded. IICBZF http://blog.numino.net/
|
|