如何使用asp上传HTML5 单input多文件 |
zjQ77w http://blog.numino.net/ If you have a form which submits multiple values of the same form variable you can separate them as follows. Yb49f7 http://blog.numino.net/ For i = 1 to Request.form("myforminput").Count nfX0oi http://blog.numino.net/ If Request.form("myforminput")(i) <> "" then Te1n3u http://blog.numino.net/ Response.write Request.form("myforminput")(i) & "<br />" i2aP28 http://blog.numino.net/ End if pbnBh8 http://blog.numino.net/ Next 0N56dF http://blog.numino.net/ It might be worth trying the same approach - ie: 1Q0W7g http://blog.numino.net/ For i = 1 to (objUpload.Form("thefile").value).Count 55JCAm http://blog.numino.net/ If (objUpload.Form("thefile").value)(i) <> "" then XxqxUz http://blog.numino.net/ Response.write (objUpload.Form("thefile").value)(i) & "<br />" CnCTjL http://blog.numino.net/ End if 00KMGn http://blog.numino.net/ Next GPWZA1 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. AvG0j7 http://blog.numino.net/
|
|