The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

rdav status badge R-CMD-check

Simple WebDAV client

Provides some functions to

Notice: when uploading or downloading files, they are overwritten without any warnings.

Installation

You can install the package from r-universe.dev

install.packages('rdav', 
     repos = c('https://gk-crop.r-universe.dev', 'https://cloud.r-project.org'))

Usage

You have to supply the URL to the WebDAV server and your username. Once you call wd_connect, you will be prompted for the password.

library(rdav)
r <- wd_connect("https://example.com/remote.php/webdav/","exampleuser")

wd_dir(r) # lists the main directory
wd_dir(r, "subdir", as_df = TRUE) # lists 'subdir', returns a dataframe

Create folder, upload and download data

wd_mkdir(r,"myfolder")
wd_upload(r, "testfile.R", "myfolder/testfile.R")
wd_download(r, "myfolder", "d:/data/fromserver")

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.