drop_create: Creates a folder on Dropbox

View source: R/drop_file_ops.R

drop_createR Documentation

Creates a folder on Dropbox

Description

Returns a list containing the following fields: "size", "rev", "thumb_exists", "bytes", "modified", "path", "is_dir", "icon", "root", "revision"

Usage

drop_create(
  path = NULL,
  autorename = FALSE,
  verbose = FALSE,
  dtoken = get_dropbox_token()
)

Arguments

path

Path in the user's Dropbox, relative to root

autorename

Set to TRUE to automatically rename. Default is FALSE.

verbose

By default verbose output is FALSE. Set to TRUE if you need to troubleshoot any output or grab additional parameters.

dtoken

The Dropbox token generated by drop_auth. rdrop2 will try to automatically locate your local credential cache and use them. However, if the credentials are not found, the function will initiate a new authentication request. You can override this in drop_auth by pointing to a different location where your credentials are stored.

References

API documentation

Examples

## Not run: 
drop_create(path = "foobar")

## End(Not run)

karthik/rdrop2 documentation built on March 28, 2024, 5:51 a.m.