Nextcloud บน Android พร้อม AnExplorer
Nextcloud เป็นแพลตฟอร์มจัดเก็บข้อมูลบนคลาวด์ที่โฮสต์เองซึ่งมีการใช้งานกันอย่างแพร่หลายที่สุด ไม่เหมือนกับ Dropbox หรือ OneDrive คุณใช้งาน Nextcloud บนเซิร์ฟเวอร์ของคุณเอง — NAS ที่บ้าน, VPS หรือ Raspberry Pi AnExplorer เชื่อมต่อกับ Nextcloud ผ่าน WebDAV ทำให้คุณจัดการไฟล์ได้เต็มรูปแบบโดยไม่ต้องใช้แอป Nextcloud บนอุปกรณ์เคลื่อนที่
วิธีเชื่อมต่อ Nextcloud กับ AnExplorer
Nextcloud เปิดเผยจุดสิ้นสุด WebDAV ที่:
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/ |
For HTTP-only (no HTTPS) connections on a local network: some Android versions require a specific setting to allow cleartext HTTP connections. If the connection fails, try adding 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/จำเป็นต้องมีเส้นทาง - ทดสอบในเบราว์เซอร์: วาง WebDAV URL — คุณควรเห็นข้อความแจ้งเตือนการตรวจสอบสิทธิ์
401 ไม่ได้รับอนุญาต:
- ตรวจสอบชื่อผู้ใช้และรหัสผ่านอีกครั้ง
- หากคุณเปิดใช้งาน 2FA บน Nextcloud คุณต้อง ต้อง ใช้รหัสผ่านสำหรับแอป (ไม่ใช่รหัสผ่านหลักของคุณ)
ประสิทธิภาพช้าเมื่อเชื่อมต่อระยะไกล:
- Nextcloud WebDAV ผ่านอินเทอร์เน็ตช้ากว่าการเข้าถึง LAN ในพื้นที่
- สำหรับใช้ในบ้าน SMB บน NAS ของคุณควบคู่ไปกับ Nextcloud จะเร็วกว่าสำหรับไฟล์ขนาดใหญ่
