Upload Component and content length


I need to allow for large file upload with progress indicator. I use the progress listener, but though the parameters bytesRead and contentLength are defined as long, they behave actually as int, i.e. files with size larger than 2GB report negative size. Is there any workaround or hope for a fix?

I use Vaadin 6.7.4 and Chrome and IE 9 for testing.

Thank you,



have you (or anyone else) been able to find the fix for this issue? I am facing the same problem.


I am encountering the same issue. This happens across Chrome, Firefox, IE & Opera. Was anyone able to find any resolution/workaround? Is this a known bug?