Progress of request sent

Trustin Lee (이희승) trustin at gmail.com
Mon Jan 5 20:44:53 EST 2009


If you are sending a large file in one shot, you are likely to hit
OutOfMemoryError.  Therefore, assuming that you are sending a file split
into multiple chunks with a certain size (e.g. 8192 bytes), you can add a
ChannelFutureListener to the ChannelFuture that is returned by the write
operation for each chunk.

— Trustin Lee, http://gleamynode.net/


On Thu, Jan 1, 2009 at 1:35 AM, manish_iitg <
excellencetechnologies08 at gmail.com> wrote:

>
> I am developing a file upload server, so when a user uploads a file from
> the
> client, i want to show a progress bar for the file upload. Is there any way
> to do that.
>
> Is there anyway to know the amount of bytes that are sent from the client
> to
> server. Meaning, to track the progress.
> --
> View this message in context:
> http://n2.nabble.com/Progress-of-request-sent-tp2096502p2096502.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20090106/397703a7/attachment.html 


More information about the netty-users mailing list