A python server client program, to send and recieve file over TCP/IP based sockets.
It uses for python Tkinter and easygui modules for gui.
Connect both pc to same wifi or hotspot
Use 'ipconfig'
/'ifconfig'
accordingly to find the IP of the server
Run the Server on a pc from which you will send file
Run the Client on reciever pc, and enter the IP of server
- Run the
fileServer.py
and answer the prompt for port number . - Server will be initialized, wait for client to connect
- IF a client connects, it's IP will be displayed along with a notification on terminal
- Prompt will appear if client demands a file
- After
'OK'
, a file explorer dialog will appear ,->Select the file
- After you click open file will be sent
- Run
fileClient.py
and enter the IP of server, and the port no to bind with - Confirmation of Connection will be recieved on terminal
- Ask for the file you want from the server
- Answer the CONFIRM prompt, if you really want the file
- After
'OK'
, a file explorer dialog appears , asking you to save the file, at the desired location - The file Tranfer starts, and the progess rate can be seen on terminal's console
#ENJOY!!!