Sync to owncloud

Is there a way to sync data from baobab to one of the academic “ownclouds”, for example:
drive.switch.ch or cernbox.cern.ch (there are generic CentOS7 clients)?
Any reason we should not be doing that?

Cheers,
Jacques

Last time I was doing this, the simplest method seemed to use the widespread Webdav protocole :

  • As you point out, most academic storage support “ownCloud” which fully supports Webdav.
  • the common command line tool curl support uploading to webdav.
  • .netrc is supported by curl as a way to store credentials on disk if you want to do unattended programmatic update (note be sure to chmod 0600 them, and add them to your .gitignore to not upload them by accident!)

e.g.:

curl --netrc --upload-file "myfile.txt" "https://drive.switch.ch/remote.php/webdav/Projects-2020/myfile.txt"

Hi there,

GVfs/GIO (cf. Howto access external storage from Baobab ) already supports WebDAV, thus for example for a remote Nextcloud you can open the File Manager (Thunar) and enter the following address in the location bar davs://nextcloud.example.com/remote.php/dav/ .

Thx, bye,
Luca

Thanks a lot for your answers, all these solutions work perfectly!
Jacques