commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Cooper" <>
Subject Re: Streaming API
Date Wed, 26 Nov 2008 01:50:14 GMT
On Tue, Nov 25, 2008 at 6:59 AM, Ramesh Rajendran <>wrote:

> Hello Aapche Group,
> I am trying to work with the Streaming API of the Apache commons
> Fileupload. As per the manual I have included the input streams. I want to
> increase the buffer size that will help me to transfer the files more
> quickly. Is there any way to speed up the upload process by increasing the
> buffer size, please advise me on this.

The buffers used for the actual transfer from the client are not the same
buffers that FileUpload uses to process the request. The servlet container
(e.g. Tomcat) buffers the original request by itself, and FileUpload is only
invoked later. So changing the buffer size used by FileUpload will not have
an impact on the actual transfer speed, since it won't affect the transfer

Martin Cooper

> Thanks,
> R.Ramesh.
> *****************************************************************
> This E-mail is confidential and intended only for the recipients to whom it
> is addressed.
> If you were not an intended recipient, please notify the sender and delete
> all copies.
> S4Carlisle does not accept liability for electronic file transfers.
> *****************************************************************
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message