The current implementation for uploading multiple files in a single (deployment)
request creates a ZipEntry for each file to be uploaded and writes a
ZipOutputStream into the outbound http request containing those ZipEntry
objects. The AdminAdapter then extracts those uploaded files into temp files on
A more standards-friendly way to do this would be to use multipart/mixed POST
https requests. The Apache HttpClient and FileUpload projects would make doing
it that way pretty simple.
This looks like it would require splitting the current
distributions/external/apache-commons module into at least two, one for the
client side and one for the server side (to avoid requiring things on the client
side that are not needed) and adding HttpClient and FileUpload.
Because the multifile upload is currently working, this is a relatively low
priority and can be deferred until a future release of v3.