Description Usage Arguments Details Value
View source: R/sharepoint_put.R
Upload file to SharePoint
1 | sharepoint_put(file, dest_path, token, overwrite = F, file_name = NULL)
|
file |
path to file to be uploaded |
dest_path |
path to folder on SharePoint where file is to be uploaded |
token |
AzureGraph token - see |
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 |
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
an http response
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.