You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Pedro Ribeiro <ri...@gmail.com> on 2008/06/12 01:02:18 UTC

Streaming

Hello.

I was reading the documentation of FileUpload, and i have some doubts.
With the DiskFileItemFactory we can specify the bytes that will be
retained in memory and the temporary directory used when a item size
exceed the threshold.

With this we can have more control with the allocated memory, which is
very good.
What are the advantages of using streaming if we can use the
DiskFileItemFactory to have more control of the usage memory when
uploading a file to disk?

Thanks,
Pedro Ribeiro

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org