On Wed, Jul 16, 2008 at 9:19 PM, Mike Boyers <[EMAIL PROTECTED]> wrote:
> I also thought of the possibility of pulling the contents of a file into a > large byte[] and sending that. This might work, but I could I potentially > run into encoding issues? And I'm also wondering if it even makes sense to > try to transfer a large amount of data via this mechanism. Would it be > unreliable to do so or prone to errors? Would the underlying HTTP > transferring mechanism chunk the large data up and send it in pieces? No, a byte[] is basically the right way to go. On the client side you may as well use an InputStream (for example to an open file), if I remember right. Jochen -- Look, that's why there's rules, understand? So that you think before you break 'em. -- (Terry Pratchett, Thief of Time)