Accessing servers via WebDAV

  Technology, Documentation, Network, Systems, Windows
Tags: , , ,

WebDAV client programs tested with FileRun:

Program Name Operating System License Notes
Windows Explorer Windows Our opinion: only if you don’t have other options
MacOS Finder Mac Our opinion: decent solution
Linux Linux
Cyberduck Windows
Free Our opinion: decent solution
WebDrive Windows
Free Trial Our opinion: very good!
NetDrive Windows
Free Trial Our opinion: very good!
GoodSync Windows
Free/Pro versions Good for two-ways folder synchronization
FE File Manager iOS Free Recommended by FileRun!
WebDAV Navigator iOS Free
WebDAV-Sync Any (Java) Open-source Command-line tool for two-ways folder synchronization. Works great.
DAVbox Any (Java) Commercial Works great for two-ways folder synchronization.

An example of the URL you need to use to access FileRun’s WebDAV would be: (for our online demo)

Please note that the URL must contain the trailing slash character, after “dav.php”.
When using Nextcloud desktop sync app, the URL should be the root of your FileRun installation (example: Do not append “/dav.php/” to it.
Windows Explorer has many quirks when it comes to WebDAV. We recommend you to use a third-party program instead.
  1. Open “This PC”
  2. Right click the empty space and select Add a network location
  3. Type in the URL of your FileRun installation, like this: (The highlighted part is the important part which needs to be appended to the FileRun URL)
  4. You will be prompted for your FileRun account’s username and password

Assuming your FileRun instance is installed at

In the Finder, choose Go > Connect to Server, type the address of the server in the Server Address field, and click Connect. The server address should be in a form similar to this: ADDRESS/filerun/dav.php/.

For our example, that would be:

For details, check the respective vendor documentation at the Apple website:

Install the WebDAV support using the davfs package. On Debian/Ubuntu, you can use:

sudo apt-get install davfs2

Reconfigure davfs2 to allow access to normal users (select Yes when prompted):

sudo dpkg-reconfigure davfs2

Add the users you want to be able to mount the share to the davfs2 group:

sudo usermod -aG davfs2 <user>

Edit /etc/fstab and add the following line for each user who wants to mount the folder (with your details where appropriate): /home/<username>/filerun davfs user,rw,noauto 0 0

Then, as each user who wants to mount the folder:

Create the folders filerun/ and .davfs2/ in your home directory

Create the file secrets inside .davfs2/, fill it with the following (with your credentials where appropriate): <username> <password>

Ensure the file is only writable by you either through the file manager, or via:

chmod 600 ~/.davfs2/secrets

Run the command:

mount ~/filerun

To automatically mount the folder on login, add the command you used in step 4 to ./.coderc

Known Issues

Problem: Resource temporarily unavailable

Solution: If you experience trouble when you create a file in the directory, edit /etc/davfs2/davfs2.conf and add:

use_locks 0

Problem: Certificate warnings

Solution: If you use a self-signed certificate, you will get a warning. If you are willing to take the risk of a man in the middle attack, run this command instead:

echo "y" | mount ~/filerun > /dev/null 2>&1

If the user credentials are not being accepted despite being correct, make sure the server environment variable “HTTP_AUTHORIZATION” is being populated by the web server. On Apache web servers, the configuration line would look like this:

SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1