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!

Reply via email to