[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlrpc-user
Subject: Re: XML-RPC and File Transfer
From: "Jochen Wiedmann" <jochen.wiedmann () gmail ! com>
Date: 2008-07-16 21:07:19
Message-ID: e75283b10807161407m47191e3i5a87a7be07df719b () mail ! gmail ! com
[Download RAW message or body]
On Wed, Jul 16, 2008 at 9:19 PM, Mike Boyers <mboyers@yahoo.com> 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)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic