Biến Android của bạn thành Máy chủ FTP
Máy chủ FTP tích hợp của AnExplorer cho phép điện thoại của bạn hoạt động như một máy chủ tệp trên mạng Wi-Fi cục bộ của bạn. Bất kỳ máy tính nào — Windows, Mac hoặc Linux — đều có thể kết nối bằng ứng dụng khách FTP tiêu chuẩn và duyệt bộ nhớ điện thoại của bạn mà không cần cáp USB hoặc ứng dụng bổ sung trên máy tính.
Điều này nhanh hơn và linh hoạt hơn so với việc sử dụng USB để truyền số lượng lớn. Hướng dẫn liên quan: cách chuyển tệp từ Android sang PC.
Cách khởi động máy chủ FTP
- Mở AnExplorer
- Nhấn vào ≡ menu hoặc vuốt từ thanh bên trái
- Chọn Máy chủ FTP
- Nhấn vào Bắt đầu — máy chủ khởi động và hiển thị cho bạn một URL như
ftp://192.168.1.105:2221 - Lưu ý địa chỉ IP và cổng hiển thị
Máy chủ FTP chỉ chạy khi AnExplorer đang mở và màn hình bật (hoặc khi ứng dụng đang chạy ở chế độ nền). Nó tự động dừng khi bạn đóng ứng dụng.
Kết nối từ PC Windows
Tùy chọn A — Windows File Explorer:
- Mở File Explorer
- Trong thanh địa chỉ, gõ:
ftp://192.168.1.105:2221(sử dụng IP hiển thị trong AnExplorer) - Chấp nhận kết nối - nếu được nhắc nhập tên người dùng và mật khẩu, hãy sử dụng thông tin xác thực được đặt trong AnExplorer (mặc định: không có thông tin xác thực trên mạng cục bộ)
- Bộ nhớ điện thoại của bạn xuất hiện dưới dạng một thư mục
Tùy chọn B — FileZilla (ứng dụng khách FTP miễn phí):
- Tải xuống FileZilla từ filezilla-project.org
- Mở FileZilla > Tệp > Trình quản lý trang > Trang web mới
- Giao thức: FTP, Máy chủ:
192.168.1.105, Cổng:2221 - Kiểu đăng nhập: Bình thường, nhập tên người dùng/mật khẩu nếu được cấu hình
- Kết nối - các tập tin điện thoại xuất hiện ở bảng bên phải
Tùy chọn C — Dòng lệnh:
ftp 192.168.1.105 2221
Connecting from a Mac
Option A — Finder:
- Finder > Go > Connect to Server (⌘K)
- Type
ftp://192.168.1.105:2221 - Click Connect — Finder mounts the phone as a disk
- Drag files to copy them
Option B — Cyberduck (free): Cyberduck is a reliable free FTP client for macOS with a clean drag-and-drop interface. Download at cyberduck.io, create a new connection using the FTP server URL, port, and credentials.
Connecting from Linux
Most Linux file managers (Nautilus, Dolphin, Thunar) support FTP browsing natively:
- Nautilus: Open Files app > Other Locations > type
ftp://192.168.1.105:2221 - Dolphin: Address bar >
ftp://192.168.1.105:2221 - Terminal:
ftp 192.168.1.105 2221or uselftpfor full-featured FTP client
FTP Server Settings in AnExplorer
| Setting | Default | What it does |
|---|---|---|
| Port | 2221 | Change if port 2221 is blocked; common alternatives: 21, 2020 |
| Username | (blank) | Add a username to restrict access |
| Password | (blank) | Require a password for all connections |
| Root directory | Internal storage | Restrict FTP access to a specific folder |
| Anonymous access | On | Allow connections without credentials |
| Require login | Off | Turn on for shared-network security |
Tip: On a private home Wi-Fi network, anonymous access is generally fine. If you're on a shared network (office, apartment, hotel), always set a password.
Security Considerations
The FTP protocol itself does not encrypt connections. Anyone on the same Wi-Fi network can technically intercept the connection. For a home network this is acceptable. For shared/public Wi-Fi it is not.
For encrypted transfers, use AnExplorer's SFTP or WebDAV options instead. Both support TLS/SSH encryption.
FTP Server vs Device Connect
AnExplorer also offers Device Connect — an HTTP-based server that lets you browse and download files from any browser without any FTP client software. If the person you're sharing files with doesn't have an FTP client, Device Connect is simpler.
| FTP Server | Device Connect | |
|---|---|---|
| Requires FTP client on computer | ✅ | ❌ (any browser) |
| Upload from computer | ✅ | ✅ |
| Download to computer | ✅ | ✅ |
| Encryption | ❌ (FTP) | ❌ (HTTP) |
| Works with FileZilla, Finder, Cyberduck | ✅ | ❌ |
| Works in Android TV / Chromebook browser | ❌ | ✅ |
Port Blocking Issues
Default router settings rarely block port 2221 on LAN. If you see "connection refused":
- Check that AnExplorer's FTP Server is actually running (visible in notification bar)
- Try changing the port to
21trong cài đặt Máy chủ FTP - Kiểm tra tính năng tối ưu hóa pin của Android - chế độ pin quá mạnh có thể giết chết máy chủ
- Trên một số thiết bị Android 12+, hãy luôn bật màn hình hoặc đặt khóa chế độ thức một phần
Hướng dẫn liên quan
- Kết nối với Máy chủ FTP (với tư cách là máy khách)
- Chuyển không dây từ Android sang PC
- Chuyển từ Android sang Mac
- Kết nối thiết bị — Máy chủ HTTP dành cho trình duyệt
