Download Files from Cloud
Usage
download_files(
hrefs = NULL,
target_dir = create_download_dir("nextcloud_", dbg = dbg),
paths = NULL,
user = nextcloud_user(),
auth = nextcloud_auth(),
dbg = TRUE
)
Arguments
- hrefs
href strings specifying the files to be downloaded. The href strings are returned by
list_files
. Alternatively, the paths to the files can be given inpaths
.- target_dir
path to local target directory
- paths
Alternatively to givin the href strings, the paths to the files can be given in this argument.
- user
name of nextcloud user. Default: result of calling
kwb.nextcloud:::nextcloud_user
- auth
authentication as returned by
kwb.nextcloud:::nextcloud_user
- dbg
logical indicating whether or not to show debug messages