File Transfer Via Python Sockets Make sure you have python 3 installed. Open a terminal and run python server.py to initiate the server. Open another terminal and run python client.py to start the client and the file will be transferred to the client.