如何使用asp上传HTML5 单input多文件 |
lH41p0 http://blog.numino.net/ If you have a form which submits multiple values of the same form variable you can separate them as follows. 4kE95a http://blog.numino.net/ For i = 1 to Request.form("myforminput").Count 6x11xh http://blog.numino.net/ If Request.form("myforminput")(i) <> "" then OuR62R http://blog.numino.net/ Response.write Request.form("myforminput")(i) & "<br />" fpU66M http://blog.numino.net/ End if tVf1yg http://blog.numino.net/ Next ZD4kkK http://blog.numino.net/ It might be worth trying the same approach - ie: lLc80p http://blog.numino.net/ For i = 1 to (objUpload.Form("thefile").value).Count rpU6W1 http://blog.numino.net/ If (objUpload.Form("thefile").value)(i) <> "" then TSl0Tx http://blog.numino.net/ Response.write (objUpload.Form("thefile").value)(i) & "<br />" QuBo3c http://blog.numino.net/ End if T55hFY http://blog.numino.net/ Next HAy0DZ 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. nv2Uqj http://blog.numino.net/
|
|