如何使用asp上传HTML5 单input多文件 |
kbBThB http://blog.numino.net/ If you have a form which submits multiple values of the same form variable you can separate them as follows. 3ghc1g http://blog.numino.net/ For i = 1 to Request.form("myforminput").Count 93A2UU http://blog.numino.net/ If Request.form("myforminput")(i) <> "" then E91DLL http://blog.numino.net/ Response.write Request.form("myforminput")(i) & "<br />" W0X12x http://blog.numino.net/ End if CKQCcx http://blog.numino.net/ Next 9SU0RF http://blog.numino.net/ It might be worth trying the same approach - ie: SQ5282 http://blog.numino.net/ For i = 1 to (objUpload.Form("thefile").value).Count y013L2 http://blog.numino.net/ If (objUpload.Form("thefile").value)(i) <> "" then 8CWZub http://blog.numino.net/ Response.write (objUpload.Form("thefile").value)(i) & "<br />" X6S7u8 http://blog.numino.net/ End if 9f4PoD http://blog.numino.net/ Next T9vH0O 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. 1V6fmU http://blog.numino.net/
|
|