Network file transfer

Norman Maurer norman.maurer at googlemail.com
Mon Oct 10 01:58:53 EDT 2011


Hi there,
so messageReceived is never fired ? Very strange...

What os you are using and what version of netty?

Bye,
Norman


2011/10/10 metalstorm <metalheadstorm at gmail.com>:
> I've spent the last few days looking at java networking libraries/ frameworks
> for a project i'm starting. I'm porting an already existing application I
> made in c# over to java.
>
> This core of this application is networked(LAN) file transfers, how do I go
> about this using netty?
>
> My aim is to be able to send files (can be quite big) over TCP from a server
> to a client (P2P) over LAN (for now)
>
> I've looked at the HttpStaticFileServer example and I do not know how to get
> the server to respond to any requests, 'messageReceived' is never fired even
> though i have connected with a (very basic) client.
>
> I've searched Google and this (I must say terrible) forum and I can't find
> any simple examples using netty where it will send a file from a given path
> to a client.
>
> My C# prototype just uses TCP sockets, I don't need any of the HTTP stuff on
> top.
>
> What about multiple connections between server and client (multiple file
> transfers) also how do the server organise multiple clients/connections. Is
> all the threading done for me ? threads per connection per file ?
>
> Basically to sum up; I need a client + server example of TCP/LAN file
> transfer using netty, that could be used for mutiple connections / transfer.
>
> Thank you :)
>
> --
> View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Network-file-transfer-tp6875434p6875434.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
>


More information about the netty-users mailing list