Description Usage Arguments Examples
You will need to setup an app before using this function. Set scopes appropriately for your use case, then generate a token (in that order).
1 | ops_dropbox_upload(path, dropbox_path, token, with_response = FALSE)
|
path |
The location of the file to upload |
dropbox_path |
The location to upload the file to in the app or user's dropbox folder. Do not prepend with "/". For example: a_folder/on/dropbox/file.ext. The complete filename is required including the file extension. |
token |
The dropbox app token |
with_response |
Should the response from the Dropbox API be returned? If TRUE, returns an R list converted from the JSON API response from the dropbox API. |
1 2 3 4 5 6 7 8 9 | ## Not run:
ops_dropbox_upload(
path = "/full/path/to/file.ext",
dropbox_path = "test/file.ext",
token = token,
with_response = FALSE
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.