I have an application in which file uploads are pretty common, but now we have a new scenario behind a proxy we can't control.
The proxy has a max-packet-size of 5 MB, meaning that we can only upload at most 5MB per request; and that breaks our usual 10-250 MB normal uploads.
Is there a standard Java-based (or Spring) way to upload files on configurable chunks/parts?
Note: From the client side (web) we planned to use jQuery-File-Upload
A combination of compression and chunking should work thus:
Chunk your file upload : This requires the server to understand/support request chunking. This will support your general need for reducing a single large packet
Compress the request : This also requires the server to support your compression encoding
Together, both mechanisms can significantly reduce your transmission size
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.