It's a really simple JavaSocket system where you enter the directory of the file you want to transfer in to the console of both the client and server popup console windows. Everything here falls under Creative Commons which means you can use this code and modify it to your liking!
mcjojo3/JavaSocket
It's a really simple JavaSocket system where you enter the directory of the file you want to transfer in to the server console and for the client you put the directory and name you want the image to get.
JavaCC0-1.0