Introduction - If you have any usage issues, please Google them yourself
First of all, create a FileInputStream object, based on the image file, create a input stream FileInputStream access through the picture files, by category Scoket access From the object to create instances of server Ip address, and then through the Socket class getOutputStream () method upload a picture, in the adoption of while () to determine the cycle, if the upload is successful the client to send the output to complete
Packet : 107215793client.rar filelist
Client.java