You need to use the file input type in the form. That is the input control that is responsible for posting the binary stream of the file to the browser. You can't have a textbox with a list of files, because that's all it is, a list. The server can't access the client's files so a list is no good. I don't think there is any way to post a file without using the file input type. If you want more than one file, you'll need more than one file input control.
As an alternative to multiple file input controls you could work some slick javascript to create hidden file input controls on the page for each file that's in the list so the browser does actually post the files to the server. This way you are just masking what the user sees while still using the html input control that you need.
Peter
------------------------------------------------------
Work smarter, not harder.
|