A simple C code for file transfer over TCP socket connection between client and server
- In order to test transferring any file, plz copy it to the server root directory.
- Run the server. (cd into the server directory and run ./server)
- Run the client. (cd into the client directory and run ./client)
- The client will connect immediately to the server.
- On the client side, enter the path to the file relative to the server directory to begin file transfer.
- Currently, the client and server communicate via localhost interface but can be programmed to talk over any network.
- The code was designed and tested on Linux, hence may or may not work on Windows and Mac OS.