how to send a file between client and server in java

Hello
I am writing a file sharing program. I need to send file in tcp/ip between my clients and server but cant find the best way!!
Can somebody help me please?

Comments

  • : Hello
    : I am writing a file sharing program. I need to send file in tcp/ip between my clients and server but cant find the best way!!
    : Can somebody help me please?
    :

    Well.. it all depends an requirements to figure out the best way.
    For starters you might wanna take a look at creating a socket connection between your server and clients.
    Note that in order to send object they must be serializable.
    See the sun site (java.sun.com) for more information about sockets and serialisation.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion