Transfer files between Xiaomi smartphone and computer via FTP β One of the most convenient ways to share data without using cloud services or USB-Unlike the standard cable connection. MTP (which often slows down or does not work on some OS), FTP Allows you to access the file system of the device directly through Windows Explorer, macOS or any other FTP-A client like FileZilla, but in the latest versions. MIUI function FTP It is hidden deep in the settings, and on some models it is not at all in the standard interface.
In this article, we will discuss all possible ways to include FTP on smartphones Xiaomi, Redmi and POCO β From the official built-in function to alternative methods using third-party applications, you will learn how to configure access over the LAN, which ports to use, how to solve typical connection errors (for example, you will learn how to configure access over the LAN), which ports to use, and how to solve common connection errors, 530 Login incorrect or Connection timed out, and how to ensure the security of data transmission. MIUI 12/13/14, where the activation algorithm FTP changed.
What is it? FTP Why do you need it on Xiaomi?
FTP (File Transfer Protocol is a network protocol designed to transfer files between devices on a local network or over the Internet. FTP-server:
- π Access your smartphone files directly through your PC Explorer as if you were a regular folder.
- β‘ Transfer large files (video, backups, firmware images) without size restrictions.
- π Manage files remotely: copy, move, delete, rename.
- π‘οΈ Avoiding problems with MTP (For example, when Windows does not see the phone or gives drivers error).
Main advantage FTP In the case of alternatives like AirDroid or Mi Drop, there's no reliance on cloud servers and no limits on how much data you can transfer, and all files are transferred directly between your devices, which speeds up the process and increases privacy, but there are also disadvantages: requires a connection to one Wi-Fi network, and without additional settings, the connection is not encrypted (logins / passwords are transmitted in plain text).
Xiaomi. FTP implemented through a built-in server in MIUI, But its functionality depends on the firmware version. MIUI 14 for the global version, the configuration interface is simplified, and on Chinese firmware (China) ROM) There may be additional options. FTP You can always use third-party applications like Solid Explorer or FX File Explorer that supports local startup FTP-server.
Verification of support FTP on your Xiaomi model
Before trying to turn on FTP, Make sure your Xiaomi model supports this feature at the firmware level. FTP-The server is available on most devices MIUI 8 and newer, but there are exceptions:
| Model/Series | Support for built-in FTP | Notes |
|---|---|---|
| Xiaomi 11/12/13 (modifications) | β Yes. | Global firmware may be hidden in "Additional settings" |
| Redmi Note 10/11/12 | β Yes. | China. ROM free-limited |
| POCO F3/F4/F5 | β Yes. | May require activation through..hidden_settings |
| Xiaomi Mi A1/A2/A3 (Android One) | β No. | Use third-party. FTP-servers from Google Play |
| Devices on MIUI 14+ (2023β2026) | β οΈ Partially. | The function can be removed β check manually |
To check for availability FTP on your phone:
- Open the Settings. β About the phone and 5-7 times tap on the version MIUI, activate the developer mode.
- Go back to the main settings menu and find a new section for developers.
- Scroll down and look for an option. FTP-server.
If you donβt have an option, donβt worry: in the following sections, weβll look at alternative methods) FTP It can be disabled by default for security reasons, and then manual activation through the ADB (below).
π‘
If you POCO or Redmi with custom firmware, try entering the code ##387## in the dial, this will open a hidden test menu, where sometimes there are options to enable. FTP.
Official method: incorporation FTP via settings MIUI
If your device supports built-in FTP, You can activate it in a few steps. MIUI 12β14 (Global/Chinese version).
Connect your phone and computer to the same Wi-Fi network|Open the developer settings (if not already activated)|Make sure the phone has enough charge (minimum 30%)|Remember. IP-Phone address (will be required to connect)-->
Step-by-step:
- Go to Settings. β Additionally. β For developers (if there is no partition, activate it as described above).
- Find the option. FTP-server (or local server) FTP) and tap her.
- Activate the switch Turn on FTP. The system can request confirmation via password/fingerprint.
- Set a username and password (the default is often anonymous without a password, but itβs not secure!).
- Pay attention to the line. FTP-The address is your local address. IP format ftp://192.168.x.x:2121. Remember it or copy it.
- Click Start β the server will be active until you manually stop it or turn off the phone.
You can now connect from your computer:
- π₯οΈ On Windows: Open Explorer, enter in the address bar ftp://192.168.x.x:2121 (substitute IP) and press Enter.
- π On macOS: Use Finder β Connect to the server (combination Cmd)+K).
- π§ On Linux: FTP in the terminal 192.168.x.x 2121 or use Nautilus/Dolphin.
When the first connection is made, the system may issue an unsafe connection warning, which is normal because it is not safe to connect. MIUI By default, it does not use encryption (FTPS). If you need protection, read the section on setting up SFTP below.
What to do if FTP does not start?
Alternative methods: FTP via third-party applications
If built-in FTP Xiaomi is missing or unstable on your model, you can use third-party file managers with built-in FTP-The advantages of this method:
- π§ More settings (port change, encryption, anonymous access).
- π± It works on any firmware, including Android One.
- π Support SFTP/FTPS secure transmission.
Best Apps to Launch FTP Xiaomi:
| Annex | Reference | Features |
|---|---|---|
| Solid Explorer | Google Play | Built-in FTP/SFTP-server, support for WebDAV, two-panel mode |
| FX File Explorer | Google Play | Free. FTP-server, no advertising, no support ZIP-archive |
| MiXplorer | XDA Developers | Advanced settings, work without root, support SMB |
Letβs look at the example of Solid Explorer:
- Install the application and open it.
- Slip along three horizontal lines (menu) β FTP-server.
- Click Launch β the address to connect will appear (for example, ftp://192.168.1.100:2221).
- If necessary, change the port (by default 2221) or enable authentication.
- Use the same instructions for accessing from the PC as for the built-in FTP.
If you need an encrypted connection (recommended for sensitive data transfer), in Solid Explorer or FX File Explorer Select the Protocol SFTP instead FTP. For that:
- In the server settings, enable the Use option. SFTP.
- Specify the path to the private key (can be generated in the application).
- On PC, connect via a client like WinSCP or FileZilla by selecting the protocol. SFTP.
π‘
sidenia FTP-servers are often more stable than the built-in server, but consume more battery!
Addressing common mistakes FTP Xiaomi
Even after the right setup FTP You can have connection errors. Let's look at the most common problems and their solutions:
1. Error 530 Login incorrect
Reasons:
- π Incorrect login/password (check register!).
- π« FTP-The server requires authentication, but you try to connect as anonymous.
- π Password reset after reset (characteristically for MIUI 13+).
Decision:
- Reset it. FTP-phone-side.
- Make sure you enter the same data as you did when setting up.
- If the password is not accepted, reset it in the settings. FTP and ask for a new one.
2. Connection timed out error
Reasons:
- π Phone and PC connected to different Wi-Fi networks.
- π Firewall on phone or router blocks port 2121.
- π΅ FTP-server not running (check the notification in the curtain).
Decision:
- Make sure both devices are on the same network (check out the link). IP through settings β Wi-Fi).
- Turn off the firewall on your phone (Settings) β Annexes β Permit management β firewall).
- Try changing the port. FTP 2021 or 2221 (in server settings).
3. FTP It is connected, but the files are not displayed.
Reasons:
- π No permission to access folders (characteristically for MIUI restrictively).
- π In the settings FTP root-catalog.
- π± The phone has power saving mode that "sleeps down" FTP.
Decision:
- In the settings FTP Check the path to the root directory (should be) /storage/emulated/0/).
- Add an appendix FTP Except for battery optimization.
- Try connecting via another client (e.g. FileZilla instead of Windows Explorer).
π‘
If FTP It is not stable, try to connect through ES Conductor (even if the server is running on the phone) This method often bypasses the limitations of the system. MIUI.
Security: How to Protect FTP-Xiaomi connection
Standard. FTP-The protocol transmits data, including logins and passwords, in an open form, which means that any user on your local network (or hacker, if you're connected to public Wi-Fi) can intercept traffic to secure file transfers:
- π Use it. SFTP/FTPS instead FTP (available in third-party applications).
- π‘οΈ Enable authentication β never leave FTP anonymously.
- π Change your password after each session (or use complex combinations).
- π Turn it off. FTP After the transfer of files.
- π΅ Don't connect to me. FTP via public networks (cafes, airports).
For maximum protection, set up SFTP (SSH File Transfer Protocol via Solid Explorer or Termux:
- Install Termux from F-Droid.
- Follow the commands: pkg update & pkg upgrade pkg install openssh sshd
- Connect to your PC via WinSCP or FileZilla by specifying the protocol SFTP, IP port 22.
If you want to transfer files over the Internet (not only on the local network), use ZeroTier or Tailscale to create a secure file. VPN-tunnel, and then connect to the FTP It's more complicated, but it guarantees privacy.
How to know if yours is yours FTP was hacked?
FTP through ADB: power-user
If built-in FTP On your model, Xiaomi is disabled at the firmware level, it can be activated via ADB (Android Debug Bridge: This method requires a PC and basic command line knowledge.
Step-by-step:
- Install. ADB-computer-driver.
- On the phone, turn on the debugging. USB (Settings β The phone. β Version. MIUI β 7 taps β For developers β Debugging by USB).
- Connect your phone to the PC by USB and in the terminal, execute: adb devices (must display your device).
- Activate. FTP The team: Adb shell am start -n com.android.fileexplorer/.ftp.FtpService
- If the command fails, try an alternative method: adb shell settings put global. ftp_enabled 1 adb shell am broadcast -a android.intent.action.FTP_SERVER_STARTED
After completing the commands, check the notifications on the phone - a launch message should appear. FTP-If nothing happens, your firmware is blocking. FTP at the kernel level, and only the option with third-party applications remains.
For POCO Some Redmi models may require an additional command to unlock hidden settings:
adb shell am start -n com.miui.hidden_settings/.MainActivityAfter that, the Hidden Settings section will appear in the settings, where you can manually enable it. FTP.
π‘
Use of the ADB activate FTP β If you're not sure what you're doing, you should use third-party filers to keep the system running smoothly.