4. WebDAV Mounts¶
4.1. What is a WebDAV mount?¶
A WebDAV mount allows you to work with remote folders and files of a WebDAV server. You can “mount” the WebDAV server in DAVx⁵ and then use
a file manager app to manage your files,
any app that supports remote files to access your files (like sending a document directly from your WebDAV server over email, or watch a video from your WebDAV server).
You can only use DAVx⁵ WebDAV mounts with file managers that support Android’s Storage Access Framework (SAF).
At the moment, these file managers are known to work well:
AOSP File Manager (default in many custom ROMs like LineageOS)
Also, not all apps support content from remote files (SAF). If you can’t open a WebDAV file with a specific app, chances are high that
the app doesn’t support remote files at all,
or the app opens the file in read/write mode (which is currently not supported by WebDAV/DAVx⁵).
If you’re transferring or accessing big files (like streaming a video), Android may kill DAVx⁵ because it uses the CPU in the background. In this case, enable the DAVx⁵ setting Keep in foreground to avoid DAVx⁵ to be killed.
4.3. Managing WebDAV mounts¶
New in version 4.0.
Open DAVx⁵ and select Tools / WebDAV mounts in the navigation drawer.
The WebDAV mounts activity appears.
In this activity, you can
add new mounts,
view your existing mounts together with some information (URL and quota, if available),
share content from your mounts (see below),
unmount existing mounts.
To add a mount, enter a display name (the name for the mount that will appear in Android UI), the WebDAV URL and optionally user name and password. Then select Mount. DAVx⁵ will check whether there is a WebDAV service at the given URL and then mount it.
4.4. How to access files with a file manager¶
The workflow is different between file managers that are a system package (like AOSP File Manager) and file managers that are installed as normal apps.
4.4.1. Pre-installed file managers¶
File managers that are pre-installed system packages have direct access to SAF. When the file manager supports SAF, you can directly browse into DAVx⁵ WebDAV mounts (usually in the navigation drawer).
4.4.2. Manually installed file managers¶
Manually installed file managers (like Material Files) don’t have the permission to access SAF mounts automatically. So you have to
add an external mount,
then select the respective DAVx⁵ mount in the directory chooser (usually in the navigation drawer), and
confirm the location (“Use this directory as root directory”).
Then you can use the DAVx⁵ mount in the file manager.
4.5. How to access files from DAVx⁵¶
If you can’t install a file manager or if you only want to share files from your WebDAV mount, you can use the Share content button in the DAVx⁵ WebDAV mounts:
Use the Share content button.
Now there is a little workaround to view files without installing a file manager: next to each file that can be opened there’s a small open symbol (a bit like this: ✢). Hit this symbol to view the file directly.
If you select a file, it can be shared with apps directly.