| 如何使用asp上传HTML5 单input多文件 |
1k5Pk1 http://blog.numino.net/ If you have a form which submits multiple values of the same form variable you can separate them as follows. Gai8yt http://blog.numino.net/ For i = 1 to Request.form("myforminput").Count I2Jl5P http://blog.numino.net/ If Request.form("myforminput")(i) <> "" then WtDbDT http://blog.numino.net/ Response.write Request.form("myforminput")(i) & "<br />" IZivtE http://blog.numino.net/ End if 78eYG7 http://blog.numino.net/ Next ax0SP5 http://blog.numino.net/ It might be worth trying the same approach - ie: JzTWfP http://blog.numino.net/ For i = 1 to (objUpload.Form("thefile").value).Count 12P6gx http://blog.numino.net/ If (objUpload.Form("thefile").value)(i) <> "" then OMJLVj http://blog.numino.net/ Response.write (objUpload.Form("thefile").value)(i) & "<br />" nyVt1A http://blog.numino.net/ End if wK7KLF http://blog.numino.net/ Next XipxpX 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. afyv84 http://blog.numino.net/
|
|