This article introduces how to mount ownCloud to Ubuntu via WebDAV.
sudo apt-get install davfs2
# Should unprivileged users be allowed to mount WebDAV resources? [yes/no] yes
# sudo dpkg-reconfigure davfs2
sudo usermod -aG davfs2 $USER
sudo mkdir /media/ownCloud
mount -t davfs https://shit.xsrv.jp/owncloud/remote.php/webdav /media/ownCloud
# mount -t davfs https://[yourOwncloudDir]/remote.php/webdav /media/ownCloud
Mount OwnCloud Storage using WebDav in Linux – Chase’s Notes
Since sshfs (fuse) can’t be used with WSL (though there seem to be many requests for it, so it will probably become available soon), I was thinking about creating a sync folder between windows ←→ ubuntu (remote) via ownCloud, Google Drive, or Mega. I don’t like Drive, and while Mega could be a very promising candidate for large capacity use cases depending on the situation, I don’t know much about it, so I tried it with ownCloud. It turns out it’s quite easy to set up.
However, the sync speed is too slow, but it’s easier than using rsync to transfer files every time. (I could probably find such a tool with Node.js or something)