Accessing WebDAV

As an alternative, Web File Share can be also accessed with a standards-compliant WebDAV application. This can be useful for managing the remote files as they are folders on the local computer.

WebDAV client programs tested with Web File Share:

 

 

Program Name

Operating System

License

Notes

MacOS Finder

MacOS

 

Guide available down on this page.

Cyberduck

MacOS

Free

 

WebDrive

Windows/MacOS

Free Trial

Recommended by Web File Share!

NetDrive

Windows

Free For Personal Use

 

IT Hit "Map Drive"

Windows

Commercial

 

GoodSync

Windows/MacOS/Android/iOS

Free/Pro versions

Good for two-ways folder synchronization

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 Web File Share's WebDAV would be: http://demo.webfileshare.com/dav.php/ (for our online demo)

Please note that the URL must contain the trailing slash character, after “dav.php”.

MacOS: Connecting with Finder

Assuming your Web File Share instance is installed at https://www.your-site.com/webfileshare

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/webfileshare/dav.php/.

For our example, that would be:

https://www.your-site.com/webfileshare/dav.php/

For details, check the respective vendor documentation at the Apple website: http://support.apple.com/kb/PH3857

Linux: mounting from the command line

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):

your-site.com/webfileshare/dav.php/ /home/<username>/webfileshare davfs user,rw,noauto 0 0

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

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

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

your-site.com/webfileshare/dav.php/ <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 ~/webfileshare

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 ~/webfileshare > /dev/null 2>&1

 

Attached Files
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Name
Email
Security Code Security Code
Related Articles RSS Feed
Character encoding
Viewed 1353 times since Wed, Mar 5, 2014
File Encryption
Viewed 1325 times since Wed, Mar 5, 2014
ImageMagick thumbnail generation and image preview
Viewed 1512 times since Wed, Mar 5, 2014
Hiding file types for certain users or groups
Viewed 1265 times since Wed, Mar 5, 2014
File indexing and full-text searching
Viewed 2430 times since Wed, Mar 5, 2014
MENU