Nextcloud trên Android với AnExplorer
Nextcloud là nền tảng lưu trữ đám mây tự lưu trữ được triển khai rộng rãi nhất. Không giống như Dropbox hoặc OneDrive, bạn chạy Nextcloud trên máy chủ của riêng mình - NAS gia đình, VPS hoặc Raspberry Pi. AnExplorer kết nối với Nextcloud thông qua WebDAV, cung cấp cho bạn khả năng quản lý tệp đầy đủ mà không cần ứng dụng di động Nextcloud.
Cách kết nối Nextcloud với AnExplorer
Nextcloud hiển thị điểm cuối WebDAV tại:
https://your-nextcloud-server.com/remote.php/dav/files/YOUR_USERNAME/
In AnExplorer:
- Open AnExplorer and tap + in the sidebar
- Select WebDAV
- Enter your Nextcloud WebDAV URL (see format above)
- Username: your Nextcloud login
- Password: your Nextcloud password (or an app password — recommended)
The connection appears in the AnExplorer sidebar as a WebDAV bookmark.
Use an App Password (Strongly Recommended)
Nextcloud supports app-specific passwords, which let you grant AnExplorer access without exposing your main Nextcloud password. If your main password changes, only the app password needs to be regenerated.
Create an app password in Nextcloud:
- Log in to your Nextcloud web interface
- Go to Profile icon → Personal settings → Security
- Under "Devices & sessions", enter a name like
AnExplorerand click Create new app password - Copy the generated password and paste it into AnExplorer's WebDAV password field
What You Can Do
| Action | Notes |
|---|---|
| Browse all Nextcloud folders | Including shared folders and team spaces |
| Download to phone | Long-press > Copy > Paste to local folder |
| Upload from phone | Copy local file > Paste to Nextcloud WebDAV bookmark |
| Create folders | Long-press in space > New Folder |
| Delete files | Long-press > Delete |
| Move between Nextcloud and NAS | Copy from Nextcloud > Paste to SMB/FTP bookmark |
For moving files between Nextcloud and a NAS directly from AnExplorer, see the NAS connection guide. This works because AnExplorer can have both open at the same time in its sidebar.
Common Nextcloud Deployment Types
| Deployment | Nextcloud URL format |
|---|---|
| Home server (local only) | http://192.168.1.x/remote.php/dav/files/USERNAME/ |
| VPS or cloud server | https://cloud.yourdomain.com/remote.php/dav/files/USERNAME/ |
| Synology via Nextcloud package | https://your-nas.com:PORT/remote.php/dav/files/USERNAME/ |
| Nextcloud All-in-One (Docker) | Typically https://cloud.yourdomain.com/remote.php/dav/files/USERNAME/<span> class="code-marker-13"></span>https:// even on LAN — or set up a self-signed certificate in Nextcloud. |
Nextcloud vs Nextcloud + AnExplorer vs Nextcloud App
| Nextcloud App | AnExplorer + WebDAV | |
|---|---|---|
| Photo auto-sync | ✅ | ❌ |
| File browsing | ✅ | ✅ |
| Manage NAS files alongside | ❌ | ✅ |
| Offline access | ✅ (marked files) | Downloads only |
| Archive handling (ZIP/7z) | ❌ | ✅ |
| TV/Wear OS access | ❌ | ✅ |
| Multiple cloud accounts | ❌ | ✅ |
If you also want photo auto-sync from your phone to Nextcloud, keep the Nextcloud app installed alongside AnExplorer — use Nextcloud app for sync, AnExplorer for browse and manage.
Troubleshooting
Connection refused or 404 error:
- Verify the WebDAV URL format — the
/remote.php/dav/files/USERNAME/đường dẫn là bắt buộc - Kiểm tra trên trình duyệt: dán URL WebDAV — bạn sẽ thấy lời nhắc xác thực
401 trái phép:
- Kiểm tra kỹ tên người dùng và mật khẩu
- Nếu bạn đã bật 2FA trên Nextcloud, bạn phải sử dụng mật khẩu ứng dụng (không phải mật khẩu chính của bạn)
Hiệu suất chậm qua kết nối từ xa:
- Nextcloud WebDAV qua internet chậm hơn so với truy cập mạng LAN cục bộ
- Để sử dụng tại nhà, SMB trên NAS của bạn cùng với Nextcloud sẽ nhanh hơn đối với các tệp lớn
