There are two ways I can see to get around this.

1) Use chunked encoding via method.setContentLength(EntityEnclosingMethod.CONTENT_LENGTH_CHUNKED).
2) Use the MultipartPostMethod. This method uses a long for the content length of each part.


We should probably change the EntityEnclosingMethod content length field to a long in a future release. Would you like to put in a Bugzilla enhancement request for this?

Mike

Robert Csiki wrote:
I've found the request body's content length (set via
PostMethod.setRequestContentLength) is stored by an *int*
What happens if I want to upload a large file, lets say a 10GB file?

Thanks.
Robert



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to