[jira] [Commented] (FILEUPLOAD-195) Error reading the file size larger than 2 gb
[ https://issues.apache.org/jira/browse/FILEUPLOAD-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13593492#comment-13593492 ] Gergely commented on FILEUPLOAD-195: I made some fix, which works for me (I haven't patched the portlet part) https://github.com/pihentagy/commons-fileupload/commit/16a677dd3c61acde530a5f54a59402faed1a953a > Error reading the file size larger than 2 gb > > > Key: FILEUPLOAD-195 > URL: https://issues.apache.org/jira/browse/FILEUPLOAD-195 > Project: Commons FileUpload > Issue Type: Bug >Affects Versions: 1.2.1, 1.2.2 >Reporter: Juliano Alves >Priority: Minor > > Error reading bytes from the file sent via servlet when it has a size larger > than 2GB, it puts the total file size is negative. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FILEUPLOAD-195) Error reading the file size larger than 2 gb
[ https://issues.apache.org/jira/browse/FILEUPLOAD-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13589406#comment-13589406 ] Gergely Kontra commented on FILEUPLOAD-195: --- No, FILEUPLOAD-188 states upload is impossible. This issue just states the file size reported is wrong IMHO. > Error reading the file size larger than 2 gb > > > Key: FILEUPLOAD-195 > URL: https://issues.apache.org/jira/browse/FILEUPLOAD-195 > Project: Commons FileUpload > Issue Type: Bug >Affects Versions: 1.2.1, 1.2.2 >Reporter: Juliano Alves >Priority: Minor > > Error reading bytes from the file sent via servlet when it has a size larger > than 2GB, it puts the total file size is negative. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FILEUPLOAD-195) Error reading the file size larger than 2 gb
[ https://issues.apache.org/jira/browse/FILEUPLOAD-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13220848#comment-13220848 ] Philip Helger commented on FILEUPLOAD-195: -- Duplicate of FILEUPLOAD-188 > Error reading the file size larger than 2 gb > > > Key: FILEUPLOAD-195 > URL: https://issues.apache.org/jira/browse/FILEUPLOAD-195 > Project: Commons FileUpload > Issue Type: Bug >Affects Versions: 1.2.1, 1.2.2 >Reporter: Juliano Alves >Priority: Minor > > Error reading bytes from the file sent via servlet when it has a size larger > than 2GB, it puts the total file size is negative. -- 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
[jira] [Commented] (FILEUPLOAD-195) Error reading the file size larger than 2 gb
[ https://issues.apache.org/jira/browse/FILEUPLOAD-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056414#comment-13056414 ] jagub zhang commented on FILEUPLOAD-195: I think it is a very old problem about j2ee. commons-upload get total size of upload using ServletRequest#getContentLength() Interface ServletRequest#getContentLength() return a int value. on j2ee javadoc: an integer containing the length of the request body or -1 if the length is not known The max value of int is 2147483647, it is less then 2gb(2147483648). then it return -1 > Error reading the file size larger than 2 gb > > > Key: FILEUPLOAD-195 > URL: https://issues.apache.org/jira/browse/FILEUPLOAD-195 > Project: Commons FileUpload > Issue Type: Bug >Affects Versions: 1.2.1, 1.2.2 >Reporter: Juliano Alves >Priority: Minor > > Error reading bytes from the file sent via servlet when it has a size larger > than 2GB, it puts the total file size is negative. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira