upload_file: Upload a Local File to the Cloud

View source: R/upload_file.R

upload_fileR Documentation

Upload a Local File to the Cloud

Description

Upload a Local File to the Cloud

Usage

upload_file(
  file,
  target_path = "documents",
  user = nextcloud_user(),
  auth = nextcloud_auth()
)

Arguments

file

path to local file

target_path

path to folder on the cloud into which to upload the file

user

user name, by default taken from the environment variable "NEXTCLOUD_USER".

auth

authentication header as provided by kwb.nextcloud:::nextcloud_auth


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