-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Mark,

On 5/29/13 2:00 PM, Mark Eggers wrote:
> On 5/29/2013 10:48 AM, Mohit Anchlia wrote:
>> I am looking for a general advice on uploading large files. I am 
>> currently thinking that we do it on our API and have clients
>> chunk it in multiple pieces and send it to the server.
>> 
>> I could try http chunk based transfer but only think I am unsure
>> of is if on the server the entire content is going to be
>> bufferred in memory.
>> 
> Let me google that for you:
> 
> http://commons.apache.org/proper/commons-fileupload/using.html
> 
> Read the above. It looks like this answers all of your questions
> and gives lots of flexibility.

If you are using servlet 3.0 file upload, there are configuration
parameters that let you specify how much file data will be uploaded
before the data gets buffered on disk, etc. (Google for "servlet 3.0
multipart-config").

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJRpmVDAAoJEBzwKT+lPKRYNloP/2eNde9Q0T7RoxHgwTTYYYl7
dhCIFQ3MgAYclebzb1tr91lc/eQdsJQVY9sfo24LEaoPLkOjRdoCoOphl0IIMCKv
4a4Qm5CGozoUxp+H8sObcB4492r7t0plucMwX2uVf0OWeeNruyA7PQmjVg/MP4JL
/mbVrN/rN8wgyqrrcBSSoY8VI24eZVV5rfp9j/YDm5Nz+TAngmTCtR8fiLp/Zv3D
YUgAfXLUknZaQg47xHJE9sztKVbBx+A43wIMlFTMzUlQ1U/RYyXfVqMa2cGH/uP9
v5DJFvo0l6MaH6tgjGbhdbw2JV1m6wYggXHitw++lzProtKUNY0aFMR41G9b1zJQ
oonvjMIKw/7a6J4DoZrY6Wgk1hcF8T/5CF6ZuRVskJAovnguZGe0MNKN5saMbP5j
MEpasTZHNDsMAm6O9SzZiecd8+bJ4iDXbTiqOhMxd0DUcb8dGQE3Jddlr/I0DLwj
0lgLJ619CRVB6d8bhTSnNrzpmGWBznyGEyrJztl1WIC1ajmdS7VpeOrdGlFff60R
pv6WhzTKCn2C7W9fCIcQLkTZu1lW/67bT72fZKZEJwAVWAwHBf3nLbc859zwyG2q
csivsKEGRD90VNs412G93/BCHuEpiu95uWO5CimmlZdLnXuJAHWMTyncHbOI9vBA
OEfroxAnoUZMk44QnLgk
=x/oz
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to