The File Transfer System I have created is a Python-based application that enables users to transfer files over a local area network (LAN) or Wi-Fi. It simplifies the process of sharing files between devices connected to the same network.
- User-friendly interface for transferring files.
- Images used in the Python scripts enhance the user experience.
To use the File Transfer System, follow these steps:
-
Download the project files from the GitHub repository.
-
Don't change the relative paths of the files or the files would not work(although you can create a shortcut for the exe file if you want)
-
Navigate to the project directory:
cd file-transfer-system- Create a virtual environment (recommended) in the project directory:
python -m venv env_name- Activate the virtual environment:
env_name\Scripts\activate- Install the
subprocessmodule if it is not installed:
pip install subprocess- Run the
install_dependencies.exefile to install the required Python modules (you can check the required modules in therequirements.txtfile) :
install_dependencies.exe- You have to install the
netifacesmodule of python using the anaconda prompt (ifpip install netifacesdoesn't work) . Open the anaconda prompt and type the following command:
conda install -c anaconda netifaces-
Ensure you have Python and anaconda installed on your system.
-
Make the firewall system of your device to allow the tcp and udp connections on the port 12345, you can refer to the following link: https://pureinfotech.com/open-port-firewall-windows-10/#:~:text=To%20open%20a%20Windows%20firewall,select%20the%20%E2%80%9CPort%E2%80%9D%20option.
-
Also enable the public and private connections for
python.exeby going toWindows Defender Firewall>Allow an app or feature through Windows defender firewalland then click on change settings and check all the boxes(public,private,domain) forpython.exeas shown in the image below:
-
Open a terminal or command prompt and navigate to the project directory.
-
Run the main executable file to start the File Transfer System.
-
Please ensure that both the devices are connected to the same wifi/lan network.
The following Python modules are required to run the File Transfer System (can be found in the requirements.txt) :
- tkinter
- threading
- socket
- os
- time
- pickle
- logging
- netifaces
If you have any questions or feedback, feel free to reach out:
- Email: abhishekbaghel301@gmail.com
- GitHub: https://github.com/abhishekbaghel11