WiFi-FTP is a tool to create a simple ftp server in local network. Anyone under same wifi/router can read/write/modify the folder you shared.
apt install python3 python3-pip -y
pip3 install pyftpdlib --break-system-packages
git clone https://github.com/KasRoudra/WiFiFTP
cd WiFiFTP
python3 wififtp.py
pip3 install wififtp
[For Termux]sudo pip3 install wififtp --break-system-packages
[For Linux]wififtp
- You can customize both port and shared folder. Without change, default port will be 2121 and default folder will be the folder from which the file is executed!
- Now WiFi-FTP also support arguments
usage: wififtp.py [-h] [-p PORT] [-d DIRECTORY] [-u USERNAME] [-k PASSWORD]
[-v]
options:
-h, --help show this help message and exit
-p PORT, --port PORT WiFiFTP's server port [Default: 2121]
-d DIRECTORY, --directory DIRECTORY
Directory where server will start [Default: ~/wififtp]
-u USERNAME, --username USERNAME
FTP Username [Default: None]
-k PASSWORD, --password PASSWORD
FTP Password [Default: None]
-v, --version Prints version of WiFiFTP