I'm trying to put together code that can upload multiple files to a server via HTTP. So far, I've put together code that can send one file at at time via HTTP. When I send more than one file at a time the first file is processed but then the app hangs - there are no java errors.
My hunch is the problem is caused by the boundaries of the HTTP parts.
Can anyone tell me:
1. If my hunch is correct, and if not what the actual problem is.
2. How to resolve the problem.
Below is the code I'm using to create the request entity: