Connecting to FTP server from a smartphone to Android may be needed in a variety of situations: from uploading files to hosting to remotely managing files on a NAS drive. Despite the fact that the protocol FTP is considered obsolete (it is gradually being replaced by SFTP i WebDAV), it is still widely used due to its ease of configuration and compatibility with legacy equipment. In this article, you will find current ways to connect to FTP from Android, including workarounds for common errors and security recommendations.
The main problem when working with FTP on mobile devices is the lack of a built-in client in the system. Unlike Windows or macOS, where you can connect through โExplorerโ or โFinderโ, Android you will need third-party software. Fortunately, there are dozens of applications for this task, from simple file managers to professional FTP clients with support for Google Play there are dozens of applications for this task, from simple file managers to professional FTP clients with support FTPS and SFTP. We tested popular solutions and selected the best options for different scenarios - from one-time file transfer to constant work with remote servers.
It is important to consider that since 2023, many hosting providers will disable support for unencrypted FTP by default, requiring the use of SFTP (via SSH) or FTPES (FTP over TLS). If your server is still running on the old protocol, we recommend switching to secure alternatives - this will protect data from interception, especially when connecting through public networks Wi-Fi.
1. Which applications are suitable for FTP on Android
The choice of application depends on your tasks. For a one-time file upload, a simple file manager with FTP support is enough, but for regular work with the server, it is better to install a specialized client. We have collected the top 5 solutions taking into account functionality, security and convenience:
- ๐ Solid Explorer - a universal file manager with support
FTP,SFTP,WebDAVand cloud storage. Suitable for beginners thanks to its intuitive interface. There is a free version with limitations. - ๐ AndFTP - a specialized client with support for
FTPSiSFTP, the ability to synchronize folders and a task scheduler. Ideal for automating downloads. - ๐ฅ๏ธ FX File Explorer - a powerful manager with a built-in FTP client, support
SMBand extensions for working with archives. Free version without unnecessary water. - ๐ ES Explorer - a popular manager with FTP support, but with caution: the latest versions have a lot of advertising and suspicious permissions. It is better to use old apps (for example, ES File Explorer 4.2.9.6.3).
- ๐ ๏ธ Termux + command line - for advanced users who prefer to work through the console. Allows you to use
lftp,wgetorcurlto transfer files.
If you need to not only download files, but also edit them directly on the server, pay attention to AndFTP or Solid Explorer โthey support a built-in text and image viewer. To automate backups (for example, database backups), FolderSyncis suitable, which can work with software. schedule.
โ ๏ธ Attention: Applications like ES Explorer or File Manager+ may request suspicious permissions (for example, access to SMS or contacts). Before installing, check the reviews and reputation of the developer. For critical tasks, use open source software, for example Termux.
2. Step-by-step setup of an FTP connection
Let's look at the setup process using an example Solid Explorer โone of the most convenient solutions. The instructions are also suitable for other file managers with FTP support (for example, FX File Explorer or MiXplorer).
Steps to connect:
- Install application from Google Play and open it. When you first start, you may need to provide access to the storage.
- Add a new storage: click on the "+" icon in the bottom menu and select "FTP".
- Enter server data:
- ๐ Server address: for example
ftp.example.comor IP (for example192.168.1.100). - ๐ค User name and password (if anonymous access is not allowed).
- ๐ Port: default
21for FTP,22for SFTP. - ๐ Start folder (optional): specify the path, for example,
/public_html.
- ๐ Server address: for example
- ๐
Normal FTPโonly if the server does not support encryption (not secure!). - ๐
FTPS (explicit TLS)is the recommended option for public networks. - ๐
SFTP (via SSH)is the most secure protocol. - Save the connection and try to log in. If the data is correct, you will see a list of files. on the server.
If the connection fails, check:
- ๐ Correctness of the entered data (login, password, port).
- ๐ Availability of the server (try connecting from a PC).
- ๐ก๏ธ Firewall settings on the server (ports
21,22or990must be open). - ๐ถ Quality of the Internet connection (FTP is sensitive to packet breaks).
Check your login information (login/password)
Make sure that the server supports the selected protocol (FTP/SFTP/FTPS)
Open the necessary ports in the server firewall
Connect to a stable network (preferably not public Wi-Fi)
Update the application to the latest version-->
3. Alternative methods: Termux and Total Commander
If graphical clients are not suitable for you, you can use Termux a terminal emulator for Android. This method requires knowledge of basic commands, but gives complete control over the process. Here's how to connect to FTP via the console:
1. Install Termux from F-Droid (the version from Google Play is outdated and not updated).
2. Update packages and install lftp:
pkg update && pkg upgrade
pkg install lftp
3. Connect to the server:
lftp ftp://user:password@example.com:21
4. To work with files, use the commands:
ls - list of filesget file.txt - download file
put file.txt - download file
exit - end session
For SFTP instead of lftp you can use ssh:
ssh user@example.com
sftp user@example.com
Another option is Total Commander with a plugin FTP Plugin. This application is popular among users Windows, but there is also a version for Android. The interface is not the most modern, but the functionality is wide: support FXP (direct transfer between servers), folder synchronization and even a built-in file editor.
โ ๏ธ Attention: When using Termux avoid entering passwords in clear text in commands (for example,lftp ftp://user:pass@host). Passwords are stored in command history and can be intercepted. Instead, use interactive input:lftp ftp://user@example.com:21
password: *
4. Solving common connection errors
Even with the correct settings, the FTP connection may not work. We have collected the most common errors and ways to fix them:
| Error | Possible cause | Solution |
|---|---|---|
Connection timed out |
Server is unavailable or blocked by firewall | Check Server IP/domain, disable VPN, try another protocol (for example, SFTP instead of FTP) |
Login incorrect |
Incorrect login/password or server requires key authentication | Make sure CAPS LOCK is disabled. For SFTP, you may need an SSH key |
Passive mode failed |
Problems with passive mode (often behind NAT) | In the client settings, enable Active mode or specify the port range for passive |
SSL/TLS handshake failed |
Incompatibility of protocol versions or untrusted certificate | Update the application or disable certificate verification (not safe!) |
No route to host |
The server is blocked by the provider or is located on another network | Try connecting via mobile data or VPN |
If you see an error 530 Login authentication failed, but are sure that the password is correct, check:
- ๐ Whether the password has expired (relevant for hosting).
- ๐ Is two-factor authentication enabled (if so, use
SFTPwith SSH key). - ๐ Is access via IP limited (some servers allow connections only from certain addresses).
What to do if FTP only works via Wi-Fi, but not via the mobile data?
This problem is often associated with blocking of ports by the mobile operator. Many providers restrict outgoing connections to ports 20-21 (FTP) or 22 (SSH). Solutions:
1. Use SFTP on port 443 (it is rarely blocked since it is used for HTTPS).
2. Connect via VPN (for example WireGuard or OpenVPN).
3. Ask the server administrator to reconfigure FTP to a non-standard port (for example, 2121).
5. Security: how to protect data when working with FTP
Unencrypted FTP transmits the login and password in clear text - they can be intercepted even on a local network. If you connect via public Wi-Fi (for example, in a cafe or airport), attackers can gain access to your data. To minimize risks:
- ๐ Use SFTP or FTPS instead of regular FTP, these protocols encrypt all traffic, including. authorization.
- ๐ Set up key authentication for SFTP. This is more secure than passwords and protects against brute force attacks.
- ๐ก๏ธ Disable anonymous access on the server if it is not needed. Anonymous connections are often used to spread malware.
- ๐ Update the software regularly on the server and client. Outdated versions may contain vulnerabilities (for example,
CVE-2021-41617in FileZilla Server).
If you have to use regular FTP, at least limit access via IP. On most servers (for example, vsftpd or ProFTPD) this is done through the configuration file:
tcp_wrappers=YES
hosts_allow=192.168.1.0/24, 10.0.0.0/8
To generate SSH keys on Android via Termux execute:
ssh-keygen -t ed25519 -C "your_email@example.com"
ssh-copy-id user@example.com
โ ๏ธ Attention: Do not store FTP passwords in password managers like Google Smart Lock or LastPassif you are using an unencrypted protocol. If your password database is leaked, attackers will be able to connect to your server. For FTP accounts, create unique, complex passwords and change them every 3-6 months.
6. Automation: how to set up file synchronization
If you need to regularly upload files to the server (for example, backups of photos or logs), you can set up automatic synchronization. Suitable for this:
- ๐ FolderSync โ supports FTP/SFTP/WebDAV, can work on a schedule and when files are changed.
- ๐ Syncthing โ decentralized synchronization (does not require a centralized server).
- ๐ค Tasker + AutoFTP โ for advanced users, allows you to create complex scenarios (for example, download files only when connected to a certain network Wi-Fi).
Example of setup in FolderSync:
- Add a new account like
FTPorSFTPwith your server data. - Create a couple of folders: local (for example,
/storage/emulated/0/DCIM/Camera) and remote (for example,/backups/photos). - Set up synchronization:
- ๐ Schedule: daily at 3:00.
- ๐ Direction: โDownload onlyโ (so as not to delete files on server).
- ๐ถ Conditions: only when connected to Wi-Fi.
For automation via Termux you can write a script on bash and add it to cron:
#!/bin/bash
lftp -e "mirror -R /sdcard/DCIM/ photos/; quit" ftp://user:pass@example.com
For the script to run daily at 4:00, add a task to crontab:
0 4 * /data/data/com.termux/files/home/backup.sh
To automate backup, it is better to use SFTP instead of FTP - this will protect your data from interception, even if synchronization occurs through public networks.
FAQ: Answers to frequently asked questions
Is it possible to connect to FTP without applications, through a standard Android explorer?
No, the standard Android file manager does not support FTP. However, some manufacturers (for example Samsung or Xiaomi) add this function to their shells. Try entering ftp://user:pass@example.comin the address bar of Explorer. If it doesnโt work, install third-party software.
Why does FTP work slowly on the mobile data, but fast on Wi-Fi?
This is due to the peculiarities of the FTP protocol, which opens several connections (for commands and for data transfer). Many mobile operators limit the number of simultaneously open ports or throttle FTP traffic. Solutions:
- Use
SFTPโit works through one connection. - Enable the mode in the FTP client settings
Passive (PASV). - Connect via VPN - this can bypass ISP restrictions.
How to connect to an FTP server on a router (for example, Keenetic or ASUS)?
Most routers with a USB port support an FTP server for accessing connected drives. Instructions:
- Connect a flash drive or hard drive to the router.
- In the router's web interface, enable the FTP server (section
USB applicationsorNetwork). - Specify the login/password for access (by default often
admin/password from the router). - In the FTP client on Android, use the local IP of the router (for example,
192.168.1.1) or domain name if dynamic DNS is configured.
โ ๏ธ Attention: The FTP server on the router often has vulnerabilities. Disable access from the Internet (allow only the local network) or use SFTPif the router supports it.
Is it possible to use FTP to stream video from Android?
Technically yes, but it is inconvenient. FTP is not optimized for streaming - it downloads the entire file before playing it. For streaming, it is better to use:
WebDAV(supported in VLC or Kodi).SMB(Windows protocol, works faster than FTP on a local network).DLNA/UPnP(for multimedia servers like Plex or Jellyfin).
If you still need to via FTP, download the entire file and then open it in the player.
How to transfer files from Android to an FTP server without applications?
If you do not want to install an FTP client, you can use:
- ๐ Web interface: many FTP servers (for example, vsftpd or FileZilla Server) have a web panel for uploading files.
- โ๏ธ Cloud service: upload files to Google Drive or Dropbox, and then download them to the server via the hosting web interface.
- ๐ง Email: send files to the mail associated with the hosting and set up automatic processing of incoming letters (for example, via
fetchmail+ script).
These methods are less convenient, but they work without additional applications.