Transfer files between devices via FTP server on Android FTP remains one of the most versatile data exchange methods—especially when dealing with large volumes (videos, backups, archives) or when a USB cable is unavailable. Unlike cloud services, a local FTP server works offline, isn't limited by upload speed, and doesn't require registration. But how do you set it up correctly to avoid connection issues or data leaks?
In this article we will look at three proven methods running an FTP server on Android via Wi-Fi: using specialized applications (Solid Explorer, FX File Explorer), built-in functions of some firmware (for example, MIUI or ColorOS), and also through Termux for advanced users. We will pay special attention security settings Why open FTP without a password is dangerous even on a home network, and how to restrict access to trusted devices.
You will also learn how to solve common errors (for example, 530 Login incorrect or Connection timed out), optimize transfer speeds, and automate server startup when connecting to a specific Wi-Fi network. And at the end of the article— A list of alternative protocols (SFTP, WebDAV) that may prove more reliable than FTP in 2026.
1. Why do you need an FTP server on Android and when is it better than the cloud?
At first glance, it seems easier to upload files to Google Drive or Dropbox, but the FTP server has significant advantages:
- 📁 There is no limit on file sizeCloud services often block file uploads larger than 5–10 GB, while FTP allows for the transfer of terabytes of data.
- 🔒 Local transmissionFiles are not transferred to the internet, which is critical for confidential information (for example, messenger backups).
- ⚡ Speed. In a local Wi-Fi network (especially on the standard
802.11ac/ax) the transfer speed can reach 500–900 Mbps – many times faster than uploading to the cloud. - 🛠️ AutomationYou can configure the server to start automatically when connected to a home network or according to a schedule.
However, FTP is inferior to clouds in one respect: ease of access from anywhere in the worldTo connect remotely to an FTP server on Android, you will need to set up port forwarding on your router or use VPN, which isn't always safe. If you need access to files outside of your home, consider SFTP (encrypted protocol) or synchronization with Nextcloud.
⚠️ Warning: FTP transmits logins and passwords in cleartext. If your Wi-Fi is not secure WPA3, attackers can intercept login data. Always use complex passwords (at least 12 characters) or go to SFTP.
2. Top 3 FTP Server Apps for Android (Comparison)
The choice of program depends on your goals: do you need support? SFTP, automatic launch, or file manager integration. We tested popular solutions and compiled a table with key parameters:
| Application | SFTP support | Autostart | Interface | Advertising | Price |
|---|---|---|---|---|---|
| Solid Explorer | ✅ (plugin) | ❌ | Simple, in Russian | ❌ | 299 ₽ (one-time) |
| FX File Explorer | ✅ (built-in) | ✅ | A bit difficult for beginners | ❌ | For free |
| WiFi FTP Server | ❌ | ✅ | Outdated design | ✅ (banners) | For free |
For most users, the best choice would be FX File Explorer: it's free, it supports SFTP (encrypted protocol) and can automatically launch a server when connected to a specified Wi-Fi network. If you need the simplest interface possible, take Solid Explorer, but be prepared to pay for the plugin FTP/SFTP.
WiFi FTP Server It's only suitable for occasional tasks: the app hasn't been updated since 2021, and its interface looks outdated. It also displays ads, which can be annoying over long periods of use.
3. Step-by-step FTP server setup via FX File Explorer
Let's look at the process using an example FX File Explorer (current version - 4.0.3 at the time of testing). Download the app from Google Play and follow the instructions:
Open FX and go to the section
Network → FTP Server.Click
Start— the server will start with default parameters (port2221, loginanonymous, without password).For security, tap the ⚙️ icon and install:
- 🔐 Password (minimum 12 characters, with numbers and special characters).
- 📡 Local network only (Disable internet access if not needed).
- 📁 Root folder (select the directory to be shared).
Copy the server address in the format ftp://192.168.x.x:2221 and enter it into the file manager on another device.
To connect from a PC:
Open
Windows Explorer(or FileZilla).In the address bar, enter
ftp://your_Android's_IP:2221(For example,ftp://192.168.1.105:2221).Enter your login (
fxby default) and your password.
⚠️ Note: If the connection fails, check that your Android local connections are allowed in Wi-Fi settings (path: Settings → Wi-Fi → Advanced → Local Network). On some firmware (for example, Xiaomi) this option is disabled by default.
Android and PC IP addresses are on the same subnet | FTP server is running (icon in the notification shade) | Port is not blocked by Windows Firewall | Developer mode is enabled on Android (if using Termux) -->
4. Alternative method: FTP via Termux (for advanced users)
If you need more control (such as customizing ports or running SFTP), can be used Termux — a Linux emulator for Android. This method requires command-line knowledge, but offers flexibility:
Install Termux from F-Droid (the version from Google Play is outdated) and run the commands:
pkg update && pkg upgradepkg install openssh
sshd
passwd
After that:
Set a password for the user (command
passwd).Find out Android's local IP using the command
ifconfig(look for the line withinetunderwlan0).Connect via SFTP (port
22) through FileZilla orsftp://your_Android's IPV Total Commander.- 🔒 Full support SFTP (traffic encryption).
- 🛠️ Possibility to customize
chroot(restricting access to the root file system). - 📡 Works even without a graphical interface (useful for older devices).
- ⚠️ Difficult for beginners (requires knowledge of Linux commands).
- 🔋 Increased battery consumption (Termux keeps the processor active).
- 🔄 Reboot your router — sometimes DHCP issues incorrect IP addresses.
- 📱 Check your power saving settings on Android: some firmware (Samsung One UI, Huawei EMUI) kill background processes, including the FTP server.
- 🛡️ Disable VPN - it can redirect local traffic.
- 🔐 Always use a password (even on a home network). Password type
12345hacked in seconds. - 🌐 Disable internet access, if it's not needed. Close the port in your router settings.
21(or the one your server uses). - 📡 Enable MAC address filtering on your router so that only your devices can connect to the network.
- 🔄 Update your router firmware - older versions are vulnerable to attacks like FTP bounce.
- Android processor power (traffic encryption loads the CPU).
- Wi-Fi signal quality (walls, interference from other networks).
- Background tasks on both devices.
Termux advantages:
Flaws:
How to restrict access to Termux by IP?
Add to file ~/.ssh/sshd_config line AllowUsers your_login@192.168.1.*, then restart SSH with the command pkill sshd && sshd.
5. Common mistakes and how to fix them
Even with proper configuration, the FTP server on Android may not work. Let's look at the most common issues:
| Error | Cause | Solution |
|---|---|---|
Connection refused |
The port is blocked or the server is not running. | Make sure the FTP server is active (the icon is in the Android notification bar). Restart the app. |
530 Login incorrect |
Incorrect login/password | Reset your password in the server settings. The default login is fx (for FX) or anonymous. |
Connection timed out |
The devices are on different networks or a firewall is blocking the port. | Disable the firewall on your PC and Android. Make sure the IP addresses are on the same subnet (e.g. 192.168.1.x). |
| Low transmission speed | Weak Wi-Fi signal or background tasks | Connect to the router at a frequency 5 GHzClose other applications on Android. |
If the problem is not resolved:
6. Security: How to protect your FTP server from hacking
An open FTP server on Android is a potential security hole. Follow these guidelines:
For maximum protection, switch to SFTP (port 22). Unlike FTP, it encrypts both logins and transmitted data. FX File Explorer SFTP is enabled in the server settings by checking the box Use SFTP (SSH).
⚠️ Warning: If you still need remote access to the FTP server, never open the port 21 directly. Instead, configure VPN (For example, WireGuard) or use ngrok to create a secure tunnel.
Check your server vulnerabilities using an online scanner (e.g. Shodan or GRC ShieldsUP!). Enter your external IP and check if the port is visible. 21 from the Internet.
7. FTP Alternatives: When to Choose Another Protocol
FTP is convenient, but not always optimal. Consider these options:
| Protocol | Pros | Cons | Android apps |
|---|---|---|---|
| SFTP (SSH) | Traffic encryption, security | 10–20% slower than FTP | Termux, FX File Explorer |
| WebDAV | Works via HTTP/HTTPS, Windows integration | More difficult to set up | Solid Explorer, WebDAV Server |
| SMB (Samba) | High speed, Windows support | Requires root or Termux | MiXplorer (with plugin) |
| Resilio Sync | P2P synchronization without a server | Closed source code | Resilio Sync |
For most tasks SFTP — is the best alternative to FTP. It combines convenience and security, and the speed difference over a local network is negligible. If you need Windows integration, try WebDAV - It allows you to mount Android folders as a network drive.
SMB (Windows network protocol) is suitable for experienced users who are willing to tinker with the settings Termux. A Resilio Sync Convenient for synchronizing files between multiple devices without a centralized server.
Frequently Asked Questions (FAQ)
Is it possible to run an FTP server on Android without root access?
Yes, all the methods described in the article (including Termux) work without root. However, to access system folders (/data, /system) superuser rights will still be required.
How to transfer files between Android and iPhone via FTP?
Install on iPhone FileExplorer or Feem. Enter the FTP server address (for example, ftp://192.168.1.100:2221) and log in. Please note that iOS limits background app activity, so the Android server must remain active.
Why is FTP transfer speed slower than USB?
USB 3.0 is theoretically faster than Wi-Fi (up to 5 Gbps versus 1 Gbps 802.11ac). However, in practice, the speed is limited:
For maximum speed, connect to a router on a frequency 5 GHz and close all unnecessary applications.
Can I use FTP to stream videos from Android to TV?
Technically yes, but it's inconvenient: FTP isn't optimized for streaming, so there will be lag. It's better to use DLNA (applications BubbleUPnP or Plex) or SMB to mount the Android folder as a network drive on TV.
How to automate FTP server startup when connected to Wi-Fi?
IN FX File Explorer it's done like this:
- Open
Settings → Automation. - Select
Run FTP server when connected to Wi-Fi. - Please enter your network name (SSID).
For Termux you will need a script on bash with connection check and command sshd.