Brad, that page says this: "Notice Netty4 HTTP reads the entire stream into memory using io.netty.handler.codec.http.HttpObjectAggregator to build the entire full http message. But the resulting message is still a stream based message which is readable once."
On Fri, Sep 2, 2016 at 10:26 AM, S Ahmed <sahmed1...@gmail.com> wrote: > Thanks. > > Just to be clear, I don't run the server where I am downloading the file. > I want to download files that are very large, but stream them so they are > not held in memory and then written to disk. I want to stream the download > straight to a file and not hold the entire file in memory. > > Is Netty for the server portion or the client? > > On Fri, Sep 2, 2016 at 12:34 AM, Brad Johnson < > brad.john...@mediadriver.com> wrote: > >> http://camel.apache.org/netty4-http.html >> >> Look at netty and see if that works. It can control chunk size but it is >> also streaming in any case so you may not even need to be concerned about >> it. >> >> Brad >> >> On Thu, Sep 1, 2016 at 8:53 PM, S Ahmed <sahmed1...@gmail.com> wrote: >> >> > Does it have to be ftp, I just need http? >> > >> > On Thu, Sep 1, 2016 at 5:31 PM, Quinn Stevenson < >> > qu...@pronoia-solutions.com >> > > wrote: >> > >> > > Check out the section on the ftp component page about “Using a Local >> Work >> > > Directory” (http://people.apache.org/~dkulp/camel/ftp2.html < >> > > http://people.apache.org/~dkulp/camel/ftp2.html>) - I think that may >> be >> > > what you’re after. >> > > >> > > >> > > > On Sep 1, 2016, at 9:30 AM, S Ahmed <sahmed1...@gmail.com> wrote: >> > > > >> > > > Hello, >> > > > >> > > > Is there an example of how to download a large file in chunks and >> save >> > > the >> > > > file as the file downloads. >> > > > >> > > > The goal is not to hold the entire file in memory and then save it >> to >> > > disk. >> > > > >> > > > >> > > > Thanks. >> > > >> > > >> > >> > >