If you are sending a large file in one shot, you are likely to hit OutOfMemoryError.&nbsp; 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.<br>
<br>— Trustin Lee, <a href="http://gleamynode.net/">http://gleamynode.net/</a><br>
<br><br><div class="gmail_quote">On Thu, Jan 1, 2009 at 1:35 AM, manish_iitg <span dir="ltr">&lt;<a href="mailto:excellencetechnologies08@gmail.com">excellencetechnologies08@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I am developing a file upload server, so when a user uploads a file from the<br>
client, i want to show a progress bar for the file upload. Is there any way<br>
to do that.<br>
<br>
Is there anyway to know the amount of bytes that are sent from the client to<br>
server. Meaning, to track the progress.<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/Progress-of-request-sent-tp2096502p2096502.html" target="_blank">http://n2.nabble.com/Progress-of-request-sent-tp2096502p2096502.html</a><br>
Sent from the Netty User Group mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
netty-users mailing list<br>
<a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
<br>
</font></blockquote></div><br>