Hi I want to implement a program where
client sends a file to server and server displays the message from the file.

I have attatched my java files for reference

Recommended Answers

All 3 Replies

no, we're not going to open attachments. And we're not going to do your homework for you either.
We also can't guess at what your question in, as you're not asking any.

Use FTP rather, you cannot send a file over a socket.

... you cannot send a file over a socket.

Since when? How do you think FTP does it?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.