dropbox_put: Function to upload content (in-memory or a file) to Dropbox.

Description Usage Arguments Value Examples

Description

Function to upload content (in-memory or a file) to Dropbox.

Usage

1
2
  dropbox_put(cred, what, filename = what,
    curl = getCurlHandle(), ..., verbose = FALSE)

Arguments

cred

Specifies an object of class DropboxCredentials with Dropobox specific credentials.

what

the content to upload, which is either the name of a file, in-memory text or a raw vector.

filename

the name of the file to create in the Dropbox folder.

curl

If using in a loop, call getCurlHandle() first and pass the returned value in here (avoids unnecessary footprint)

...

optional additional curl options (debugging tools mostly).

verbose

default is FALSE. Set to true to receive full outcome.

Value

information about the uploaded file on dropbox.

Examples

1
2
3
4
5
## Not run: 
  dropbox_put(auth, 'DESCRIPTION', 'rDrop_DESCRIPTION')
  print(dropbox_get(auth, 'rDrop_DESCRIPTION'))

## End(Not run)

karthik/rDrop documentation built on May 20, 2019, 7:22 a.m.