Re: Transporting large files with HttpClient

2003-07-03 Thread Michael Becke
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]


Re: Transporting large files with HttpClient

2003-07-03 Thread David Kavanagh
You better have a LOT of time on your hands! (and hope the http 
connection stays up long enough)
heh heh...

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]


Transporting large files with HttpClient

2003-07-03 Thread Robert Csiki
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