Skip to contents

Convert Path to href as Required for Download

Usage

path_to_file_href(path = "", user = nextcloud_user(), leading_slash = FALSE)

Arguments

path

path to file on Nextcloud server

user

name of Nextcloud user, default: kwb.nextcloud:::nextcloud_user()

leading_slash

should the returned href start with a slash?