Re: Pattern for batch file transfers

2008-05-18 Thread Oleg Kalnichevski
On Fri, 2008-05-16 at 09:17 -0700, stanlick wrote: Greetings -- I am searching for a generic solution for transferring files between peers using HttpClient and FileUpload. I see a myriad of techniques, but would really appreciate a solution that: 1) streams in/out (don't want to worry

Re: Sending serialized object and stream

2008-05-18 Thread Oleg Kalnichevski
On Fri, 2008-05-16 at 16:05 -0400, [EMAIL PROTECTED] wrote: Hi All, I've requirement to send both serialized java object and stream object. Here is the code that sends serialized object ByteArrayOutputStream requestStream = new ByteArrayOutputStream();