如何使用asp上传HTML5 单input多文件 |
3CJEyT http://blog.numino.net/ If you have a form which submits multiple values of the same form variable you can separate them as follows. Ybcf6U http://blog.numino.net/ For i = 1 to Request.form("myforminput").Count bw71LV http://blog.numino.net/ If Request.form("myforminput")(i) <> "" then Y0b3gE http://blog.numino.net/ Response.write Request.form("myforminput")(i) & "<br />" HU9ZSC http://blog.numino.net/ End if xXZxLG http://blog.numino.net/ Next ISQEYK http://blog.numino.net/ It might be worth trying the same approach - ie: JAtF27 http://blog.numino.net/ For i = 1 to (objUpload.Form("thefile").value).Count 973oBZ http://blog.numino.net/ If (objUpload.Form("thefile").value)(i) <> "" then cf5ySi http://blog.numino.net/ Response.write (objUpload.Form("thefile").value)(i) & "<br />" EmY31f http://blog.numino.net/ End if 3F3whf http://blog.numino.net/ Next Z361D7 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. XfcAWN http://blog.numino.net/
|
|