[
https://issues.apache.org/jira/browse/TRINIDAD-2258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13258401#comment-13258401
]
Kentaro Kinebuchi commented on TRINIDAD-2258:
---------------------------------------------
The proposed solution to this issue is to split large files into chunks and
upload them sequentially. Once all the chunks have been uploaded, the Upload
Framework can returned a combined file. The largest supported chunk can be 2GB
so that it will work with all browsers. Any files greater than 2GB will be
chunked. In addition, the chunk size should be configurable via
trinidad-config.xml since it is possible for users to configure the application
server to only accept HTTP requests smaller than a certain size.
> Add Chunked File Upload support to the Trinidad Upload Framwork
> ---------------------------------------------------------------
>
> Key: TRINIDAD-2258
> URL: https://issues.apache.org/jira/browse/TRINIDAD-2258
> Project: MyFaces Trinidad
> Issue Type: Improvement
> Components: Components
> Affects Versions: 2.0.1-core
> Reporter: Kentaro Kinebuchi
>
> The Trinidad Upload Framework does not currently support uploading files
> larger than 2GB. This is due to two reasons:
> 1. The servlet API getContentLength returns an int byte size value:
> http://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequest.html#getContentLength()
> This API is used in a number of places in the upload framework.
> 2. Browser support for > 2GB is not very good. IE and FF don't support it
> while Chrome does.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira