Skip to content

Create a FTP Server and access files from device under same Wi-Fi/LAN/Router

License

Notifications You must be signed in to change notification settings

KasRoudra/wififtp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WiFi-FTP

[+] Description :

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.

[-] Installation

apt install python3 python3-pip -y

pip3 install pyftpdlib --break-system-packages

git clone https://github.com/KasRoudra/WiFiFTP

cd WiFiFTP

python3 wififtp.py

Pip

  • pip3 install wififtp [For Termux]
  • sudo pip3 install wififtp --break-system-packages [For Linux]
  • wififtp

[*] Features

  • 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

[~] Options

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

[+] Caution:

You must need "Python" installed in your operating system. If you use firewall you also have to enable python from "Windows Firewall". If you can't enable python from firewall, you may need to disable firewall while using ftp!

Your sharing link will be like "ftp://192.168.0.105:2121". Make sure you are connected to same router/Wi-Fi to access folder from other device!

[+] Screenshot:

preview

[~] Find Me on :

  • Github

  • Gmail

  • Facebook

  • Messenger

  • Telegram