I’m working on an app (based on Spring as DI and MVC framework) that has a file upload function which is currently implemented using Spring Multipart Upload (which in it’s turn utilizes commons fileupload libs).
So what I’m looking for is a way to lower the upload bandwidth consumption. How can I accomplish that?
Limiting the upload bandwidth consumption may not be possible unless you are using a custom file uploader on the client. Assuming that the Spring Multipart Upload is just an interface to the standard HTTP multipart form upload then it’s the client web browser that implements the actual streaming of the file from the client to the server. Unless the client’s browser has some functionality to limit the bandwidth it’s probably trying it’s best to get it uploaded as quickly as possible.