Brandon Mercer wrote:
> Yes, I can.  The limitation is that for every post or get, you can only
> have ONE multipart/mime file.  When you have multiple <file> elements
> you actually perform multiple posts to submit each one.  That's why an
> applet is necessary.

With respect Brandon, this is incorrect. Although, I did have to go write a test to be sure myself :)

If you download the sample webapp at http://www.zammetti.com/multifileupload.zip and give it a shot, you will see that you can in fact upload multiple files at once (at least three, as that's what I did for the example, but I presume there's no technical limit, although certainly a practical one). I also verified that doing this doesn't result in multiple posts behind-the-scenes (at least, it does not result in multiple Action invocations, which should be the same thing).

FYI to Rocky: this example app is the server-side processing of what you had asked about. It's rough, I just threw it together in a few minutes, but it does what its supposed to. Now I just have to throw together the UI portion and we'll see if it all comes together or not.

--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com

The applet opens different type of connection to the server, which in turn outputs many posts to the server. Now, if you use multipart/mixed as the type of submission you can actually handle multiple files in one stream, but you have to be careful of the encoding. Either way, you can't have the client decided what type of encoding to send to the server on the submit. The form itself needs to define that and have an appropriate CGI or in our case, Action to handle the content type. Hopefully this is helpful.
Brandon


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




.





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to