sharepoint_put: Upload file to SharePoint

Description Usage Arguments Details Value

View source: R/sharepoint_put.R

Description

Upload file to SharePoint

Usage

1
sharepoint_put(file, dest_path, token, overwrite = F, file_name = NULL)

Arguments

file

path to file to be uploaded

dest_path

path to folder on SharePoint where file is to be uploaded

token

AzureGraph token - see sharepoint_token

overwrite

should the file overwrite that of one with a similar (see Details) name if it exists?

file_name

desired file name (with extension). Will be checked for uniqueness if overwrite = F

Details

SharePoint API does not care about upper versus lower case. As a matter of good practice, names should be distinct beyond just capitalization. See the 'working-with-sharepoint-files.Rmd vignette for more details

Value

an http response


KaiAragaki/pointr documentation built on July 7, 2021, 8:32 p.m.