GeeCON Prague 2014*
The moose likes I/O and Streams and the fly likes can't get server to send file to client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "can Watch "can New topic
Author

can't get server to send file to client

Lance McCool
Greenhorn

Joined: Apr 15, 2003
Posts: 1
On the client side, when I type in a filename in the JTextField and press enter, nothing happens. I want the server to get the file and send the contents back to the client. The client is connecting; I believe my problem is in my processConnection method in the server file.
Please advise. The code for both server.java and client.java is below.

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: can't get server to send file to client