manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wright <>
Subject Re: document.getBinaryStream()
Date Mon, 02 May 2011 16:50:07 GMT
Using a temporary file is the right approach.


On Mon, May 2, 2011 at 12:30 PM,  <> wrote:
> So I just learnt that you can not reuse a stream.  In my code I create a
> hash from the file content, and then I want to sent it via http to the
> archive server.  You guessed it the InputStream is not valid anymore.  The
> best solution I've figured out was to read the content into a temporary file
> where I can restart it.  Thoughts?  Thanks!

View raw message