download_files: Download Files from Cloud

View source: R/download_files.R

download_filesR Documentation

Download Files from Cloud

Description

Download Files from Cloud

Usage

download_files(
  hrefs = NULL,
  target_dir = create_download_dir("nextcloud_"),
  paths = NULL,
  user = nextcloud_user(),
  auth = nextcloud_auth()
)

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 in paths.

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


KWB-R/kwb.nextcloud documentation built on June 8, 2022, 10:21 a.m.