Network file transfer

imagenesis at gmail.com imagenesis at gmail.com
Mon Oct 10 00:47:53 EDT 2011


Learn to program.

On Sun, Oct 9, 2011 at 8:27 PM, metalstorm <metalheadstorm at gmail.com> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20111010/339d3c86/attachment.html 


More information about the netty-users mailing list