All major Linux distros supports accessing of FileAgo WebDrive endpoint using
davfs2 is a Linux file system driver that allows you to mount a WebDAV server as a disk drive.
Run the following commands as
CentOS / RHEL:
# yum install davfs2
# apt-get install davfs2
Mount WebDrive using command-line
The commands you see below connects to a WebDrive endpoint at
https://acmeinc.fileago.io/webdrive/suehome/ as user
firstname.lastname@example.org and then mounts it to
/mnt in the local system.
Make sure to replace the values to reflect your actual configuration, or the command will fail.
# mount -t davfs -o noexec,user,uid=davfs2,gid=davfs2 https://acmeinc.fileago.io/webdrive/suehome/ /mnt/ Please enter the username to authenticate with server https://acmeinc.fileago.io/webdrive/suehome/ or hit enter for none. Username: email@example.com Please enter the password to authenticate user firstname.lastname@example.org with server https://acmeinc.fileago.io/webdrive/suehome/ or hit enter for none. Password:
If everything goes well, you should now see your data in /mnt/. You can confirm this using:
# ls -l /mnt/
Auto-mount during bootup
The above mount is not permanent. You will have to execute the same commands again after each reboot. In order to mount the share automatically during bootup, add the below entry to
https://acmeinc.fileago.io/webdrive/suehome/ /mnt davfs _netdev,noexec,user,uid=davfs2,gid=davfs2 0 0
.. and add the mount’s credentials to file
/etc/davfs2/secrets. For e.g.:
/mnt email@example.com "mystrongpassword"
That’s it! FileAgo WebDrive endpoint is now configured for use in your Linux system now.