Re: Best way to write an InputStream to disk

2012-05-15 Thread Raju Bitter
Thanks a lot, that worked for me. Raju -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscr

Re: Best way to write an InputStream to disk

2012-05-15 Thread Robert Marianski
On Wed, May 16, 2012 at 02:15:59AM +0200, Raju Bitter wrote: > What is the best way to write an FilterInputStream or InputStream do > disk? I'm downloading a file using the clj-http library: > > (:body (client/get > "http://www.openlaszlo.org/pipermail/laszlo-dev/2012-May.txt.gz"; {:as > :stream})

Best way to write an InputStream to disk

2012-05-15 Thread Raju Bitter
What is the best way to write an FilterInputStream or InputStream do disk? I'm downloading a file using the clj-http library: (:body (client/get "http://www.openlaszlo.org/pipermail/laszlo-dev/2012-May.txt.gz"; {:as :stream}) That returns the response body as a FilteredInputStream, which I need t