In the era of cloud storage and instant messengers, the FTP protocol may seem like a relic of the past, but it remains one of the most reliable ways to transfer files between devices. Setting FTP servers on Android allows you to turn your smartphone into a full-fledged network storage, accessible from a PC, laptop or even another phone - without restrictions on file size and dependence on third-party services.
The main advantage of this solution is full control over data. You choose which folders to make accessible, set access rights and can even limit the transfer speed. And if you often work with large files (for example, videos in 4K or project archives), an FTP server on Android will save time on uploading to the cloud and back. In this article we will look at three configuration methods from the simplest applications for beginners to advanced solutions with encryption and authentication.
Important: FTP transfers data in clear text, so it is better for confidential files use SFTP/FTPS (more on this in the corresponding section). Also note that some mobile data providers block incoming connections, so remote access outside the local network may require a VPN or alternative protocols.
1. Preparing the device: what you need to check before setting up
Before installing an FTP server, make sure that your device is ready for such a load. Modern smartphones easily cope with the role of a file server, but there are several critical points:
- ๐ถ A stable connection to Wi-Fi (or mobile data with public IP). For local access, a home network is sufficient; for remote access, you may need port forwarding a router.
- ๐ Battery charge is above 30% or a connection to a charger. The FTP server in the background consumes energy, especially when actively transferring files.
- ๐ Free space on the drive. Check whether there is enough memory for the files you plan to transfer (for example, path
/storage/emulated/0/Download). - ๐ No blocking. Some corporate networks or antiviruses (for example, Kaspersky, Avast) may block FTP traffic.
If you plan to use the server on a permanent basis, consider disabling the energy saving mode for the selected application. Otherwise, Android may suspend the server after 10-30 minutes of inactivity. Also check if your incoming traffic is limited by some operators (for example, tariff plan incoming traffic - some operators (for example, Tele2 or Iota) apply limits even on โunlimitedโ tariffs.
โ ๏ธ Attention: If you are connected to a public Wi-Fi networks (for example, in a cafe or airport), avoid transferring confidential data via FTP. Such networks are often used. transparent proxiesthat can intercept traffic.
2. Method 1: Quick setup via Solid Explorer (without root)
One โโof the simplest solutions is to use a file manager Solid Explorerthat has a built-in FTP server. This method is suitable for one-time file transfer on a local network and does not require installation of additional applications.
Instructions:
- Install Solid Explorer from Google Play (free version with limitations or paid version Pro for ~100 โฝ).
- Open the application and go to the side menu (swipe from right to left).
- Select item
Network โ FTP server. - Click
Startโthe server will start on port2221by default. - The connection address will appear at the bottom of the screen (for example,
ftp://192.168.1.10:2221).
Now you can connect to this address from any device on the same network via Windows Explorer (enter the address in the address line), Total Commander or another FTP client. By default, access is open without password, so do not leave the server turned on for a long time!
โ๏ธ Checking the connection through Solid Explorer
โ ๏ธ Attention: In the free version Solid Explorer The FTP server is automatically disabled after 15 minutes. For permanent operation you will need Pro version.
3. Method 2: FTP Server from Banana Studio โflexible settings and authentication
If you need more control over the server (for example, user setup, changing the port or limiting the speed), use a specialized application FTP Server from Banana Studio. It supports:
- ๐ Authentication by login/password (up to 5 users in the free version).
- ๐ก Working via mobile data (with port forwarding).
- ๐ Logging connections (who connected and when).
- ๐ Automatic launch when device boots.
Step-by-step setup:
- Download FTP Server from Google Play.
- When you first start, click
Startโthe server will start with default settings (port2221, useranonymouswithout password). - Go in
Settings โ Usersand add a new user:- Specify
Username(for example,admin). - Specify
Password(minimum 6 characters). - In field
Home directoryselect the folder to which access will be open (for example,/storage/emulated/0/Download).
- Specify
Server change the port to a non-standard one (for example, 2121) to increase security.Start on bootif you want the server to start automatically.To connect from outside the local network (for example, via the mobile data) you will need:
- Find out your public IP address (you can via service 2ip.ru).
- Configure forwarding ports on the router (port forwarding) - redirect the external port (for example,
2121) to the internal IP of your smartphone. - Use DDNS (dynamic DNS) if you have a dynamic IP (for example, service No-IP).
- ๐ SFTP/SSH (encrypted data transfer).
- ๐ HTTPS server for web access to files.
- ๐ WebDAV (an alternative to FTP for integration with Windows/macOS).
- ๐ก Dynamic DNS (built-in support No-IP, DynDNS).
- ๐ Configure virtual foldersnot tied to physical storage.
- ๐ก๏ธ Restrict access by IP addresses (white/black list).
- ๐ Information detailed logs with time, IP and transferred files.
- ๐ Integrate with Tasker to automate start/stop.
How to find the local IP address of Android?
Open Settings โ Wi-Fi, tap on your network and look section IP address (usually format 192.168.x.x or 10.0.x.x).
| Parameter | Value by default | Recommended value |
|---|---|---|
| Port | 2221 |
2121 or 5000+ (avoid standard ports 21, 22) |
| Max. connections | 3 | 5โ10 (if plan a lot of clients) |
| Timeout | 300 seconds | 60โ120 seconds (to save battery) |
| Encoding | UTF-8 |
UTF-8 (for correct display Cyrillic) |
4. Method 3: Servers Ultimate Pro โadvanced functions (SFTP, HTTPS, VPN)
For professional use (for example, remote work with the server or transmitting sensitive data) Servers Ultimate Pro. supports not only FTP, but also:
Minus - the application is paid (~300 โฝ), but it justifies itself with the flexibility of settings. For example, you you can:
Setup instructions SFTP server (secure alternative to FTP):
- Install Servers Ultimate Pro and open it.
- Select
SFTP Serverfrom the list of available servers. - In the settings, specify:
Port:22(standard for SSH) or another (for example,2222).Root directory: folder to which access will be opened.Authentication: enablePasswordand set logins/passwords.
Network activate Use UPnP for automatic port forwarding (if the router supports it).Start.To connect to the SFTP server, use clients like WinSCP (Windows), Cyberduck (macOS) or Termius (mobile devices). like sftp://your_ip:port.
If you often connect to the server from one device, save the SSH key in the client (for example, in WinSCP this is done via Advanced โ SSH โ AuthenticationThis will eliminate the need to enter a password each time you connect.
5. Problem solving: why the FTP server does not work on Android
Even with proper configuration, errors may occur. Here The most common problems and ways to solve them:
| Error | Possible cause | Solution |
|---|---|---|
Connection refused |
Server is not running or is blocked by a firewall | Check that the server is active in the application. Disable the antivirus or add an exception for the application. |
Login failed |
Incorrect login/password or lack of rights | Make sure the user is added in the server settings. Check the case of characters in the login. |
Timeout |
Incorrect IP address or port | Check the local IP of the smartphone (may change when reconnecting to Wi-Fi). Use ping for diagnostics. |
Passive mode failed |
Problems with passive FTP mode | In the server settings, change the port range for passive mode (for example, 50000-51000). |
If you connect via mobile data, but the server unavailable:
- ๐ต Make sure that the operator does not block incoming connections (for example, MTS and Beeline often limit ports
21,80,443). - ๐ Try a different port (for example,
2121instead of2221). - ๐ Use Cloudflare Tunnel or Ngrok to bypass blocking (free for testing).
Critical detail: if you are using Android 10+ with the "Battery optimization" function, add the FTP server application to the exceptions. Otherwise, the system may suspend it after 5-10 minutes of inactivity. You can do this in Settings โ Applications โ [select application] โ Battery โ Battery optimization โ Do not optimize.
6. Security: how to protect your FTP server from hacking
The FTP protocol is vulnerable to data interception, so when working with important files, follow these rules:
- ๐ Refuse anonymous access. Always set up logins and complex passwords (at least 12 characters with numbers and special characters).
- ๐ Use SFTP/FTPS instead of regular FTP. In Servers Ultimate Pro or FTP Server this is configured in the protocols section.
- ๐ Limit access by IP. If you connect only from your home PC, specify its IP in the white list.
- ๐ก Change the standard ports. Instead of
21(FTP) or22(SFTP), use5000+. - ๐ Disable the server when it is not needed. Long-term operation increases the risk of attack.
For maximum protection, configure VPN server on Android (for example, via WireGuard) and connect to FTP only via VPN. This will hide your traffic from your provider and protect you from interception on public networks.
โ ๏ธ Attention: If you open access to the server via the Internet (not a local network), regularly check the logs for suspicious connections. Attackers often scan IP addresses for open FTP ports.
Even if you only use FTP on your home network, never store passwords in clear text. To generate strong passwords, use managers like Bitwarden or KeePassDX.
7. Alternatives to FTP: when is it better to use other protocols
FTP is not always the optimal solution. In some cases, alternative methods are more convenient:
| Task | Best protocol/method | Example application |
|---|---|---|
| Transfer files between your devices | LocalSend (P2P over Wi-Fi) | LocalSend (free, no servers) |
| Backup to PC | WebDAV or Syncthing | Servers Ultimate, Syncthing |
| Remote work with files (as with the cloud) | SFTP + SSH | Termius, WinSCP |
| Transfer of large files (>10 GB) | SMB (Samba) | MiXplorer (built-in SMB server) |
If you need synchronize files between devices (for example, photos or documents), consider Syncthing. This is an open source application that works on the principle Block Exchange Protocol (like Resilio Sync, but without centralized servers). Its advantages:
- ๐ Traffic encryption (TLS).
- ๐ฑ Cross-platform (Android, Windows, Linux, macOS).
- ๐ Real synchronization time.
For one-time file transfer it is easier to use LocalSend or Snapdrop โthey do not require configuration and work through a browser.
FAQ: Frequently asked questions about the FTP server on Android
Can it be configured FTP server without Wi-Fi, only via mobile data?
Yes, but for this you need:
- Find out your public IP (it can be dynamic).
- Configure port forwarding on the router (if the connection is made through it) or use UPnP.
- Keep in mind that many operators block incoming connections. In this case, it will help VPN or services like Ngrok.
For reliability, test the connection via 3G/4G, and not just Wi-Fi.
Which FTP client is better to use on a PC to connect to Android?
The choice depends on the task:
- For simple file transfer: FileZilla (free, cross-platform) or built-in Windows Explorer (enter the address in the format
ftp://ip:port). - For working with SFTP/SSH: WinSCP (Windows) or Cyberduck (macOS).
- For automation: lftp (console client for Linux/macOS) or scripts on Python with library
ftplib.
If you need folder synchronization, pay attention to FreeFileSync with FTP support.
Is it possible to set up an FTP server on Android without root access?
Yes, all the methods described in the article (Solid Explorer, FTP Server, Servers Ultimate Pro) work without root. However, there are limitations:
- You will not be able to open access to system folders (for example,
/dataor/system). - Some functions (for example, binding to a port below 1024) require root.
- On Android 11+, applications are prohibited from accessing folders of other applications (for example, you will not be able to distribute files from WhatsApp or Telegram without manual copying).
If root is still needed, use Magisk and module FTP Server (Root).
How to limit the data transfer speed on an FTP server?
Most FTP servers for Android have a setting bandwidth limits (bandwidth throttling). For example, in FTP Server from Banana Studio:
- Go to
Settings โ Server. - Find the parameter
Max upload speedandMax download speed. - Specify the limit in
KB/s(for example512for 512 KB/s).
This is useful if you transfer files over the mobile data and want to avoid exceeding the traffic limit.
Why does the FTP server slow down when transferring large files?
The reasons may be different:
- Slow storage: if the files are on microSD card class
Class 4or a damaged flash drive, the read/write speed will be low. Check the speed via A1 SD Bench. - Wi-Fi limitation: can be enabled
QoSin the router settings, which limits FTP traffic. Disable it or add your smartphone's IP to exceptions. - Background processes: Android can limit the performance of applications in the background. Add the FTP server to the battery optimization exceptions.
- Problems with MTU: if the files are larger
1500 bytespacket fragmentation may occur. Try reducingMTUin the server settings to1400.
To test speed, use Wifi Analyzer or Speedtest (check the speed between devices on the local network).