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_", 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 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

dbg

logical indicating whether or not to show debug messages


KWB-R/kwb.nextcloud documentation built on Oct. 16, 2024, 11:18 p.m.