Network file transfer
Trustin Lee
trustin at gmail.com
Mon Oct 10 01:00:04 EDT 2011
Hi,
I'm not sure why the HttpStaticFileServer example does not work for you
from your description. You might want to start from the HTTP snoop
server example and let us know how to reproduce the problem.
HTH,
Trustin
On 10/10/11 9:27 AM, metalstorm 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
More information about the netty-users
mailing list