Transfering large file from client to server

Michael McGrady mmcgrady at topiatechnology.com
Fri Sep 11 13:08:12 EDT 2009


The chat example also is good to look at for understanding a lot of  
Netty behavior.  I highly recommend walking through that.  Also,  
looking closely at the Netty classes and paying careful attention to  
the javadoc documentation is good.  The javadocs are really, really  
good in Netty.  Trustin has done a hell of a good job on those.

Mike

On Sep 11, 2009, at 12:32 AM, Bertrand Goetzmann wrote:

> Thank you Mike,
>
> I have a closer look at the ChunkedFile and the HTTP server file  
> example; as I learn Netty I've began by the Echo example as a base  
> for my experimentations. For the moment I was able to send the  
> content of a file.
> I think that I will have others questions.
>
> Cheers,
>
> Bertrand.
>
> 2009/9/11 Mike McGrady <mmcgrady at topiatechnology.com>
> If you look in the archives under KarmaDecoder you will find another
> example.  Look St the chunking classes in Netty.  They are very well
> conceived.
>
> Sent from my iPhone
>
> On Sep 10, 2009, at 8:53 AM, bgoetzmann <bgoetzmann at sophia.symag.com>
> wrote:
>
> >
> > Hello,
> >
> > Recently I used the ServiceMix ESB in order to transfer large files
> > between
> > two machines, each one executing my SOA application. This
> > application uses
> > HTTP binding component and Web service component with MTOM support:
> > the main
> > idea for me is that one component read a file piece by piece and
> > sends each
> > one to the web service component that rewrite the file piece by  
> piece.
> > I would like to do same with Netty!
> >
> > I explored the example from the org.jboss.netty.example.http.file
> > package
> > where a client send a GET request to the server that delivers a file
> > piece
> > by piece.
> > In my case, in fact, I would like that the client send a file piece
> > by piece
> > and that the server write the entire file on its side.
> > I would to get some lights on this approach; I suppose I don't need
> > to use
> > HTTP protocol? What is the example that would be near of what I try
> > to do?
> >
> > Thank you a lot!
> >
> > Bertrand.
> > --
> > View this message in context: http://n2.nabble.com/Transfering-large-file-from-client-to-server-tp3617702p3617702.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
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users

Mike McGrady
Principal Investigator AF081-028 AFRL SBIR
Senior Engineer
Topia Technology, Inc
1.253.720.3365
mmcgrady at topiatechnology.com







-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20090911/b4bee0c6/attachment.html 


More information about the netty-users mailing list