A simple TCP file sender and receiver in Python.
- Send and receive files over TCP.
- Shows real-time progress in terminal.
- Automatic file renaming if file already exists.
Important: You must run the sender first before starting the receiver.
python main.py sender <filename>
Example:
python main.py sender myfile.txt
python main.py receiver [host] [port]
Example:
python main.py receiver 127.0.0.1 8000
- Receiver automatically renames file if a file with the same name exists.
- Shows progress in percentage and file size format.
This project is licensed under the MIT License.