title: When using netty for a large file upload, how can I get uploaded size while upload is in progress?
body: <p>If I can get the temporary location of the file during the upload, I can check the size. But, I am getting the temporary file location only when LastHttpContent is received and by doing <code>decoder.next()</code> </p>
  
  <p>Is there any way I could get the file name in advance? </p>
  
  <p>I am running the sample code from <a href="https://github.com/netty/netty/blob/master/example/src/main/java/io/netty/example/http/upload/HttpUploadServerHandler.java" rel="nofollow">https://github.com/netty/netty/blob/master/example/src/main/java/io/netty/example/http/upload/HttpUploadServerHandler.java</a></p>
  
  <p>I would like to get the upload percentage in writeHttpData if the datatype is FileUpload</p>