exists.in.dropbox: Check to see if an object exists in Dropbox

Description Usage Arguments Value Examples

Description

This function is meant for internal use especially when copying or moving files.

Usage

1
2
  exists.in.dropbox(cred, path = NULL, is_dir = NULL, ...,
    curl = getCurlHandle())

Arguments

cred

An object of class DropboxCredentials with Dropobox specific credentials.

path

Path to object

is_dir

if set to TRUE, will only look for folders. Otherwise will return file or folder.

curl

If using in a loop, call getCurlHandle() first and pass

...

optional additional curl options (debugging tools mostly).

Value

logical. TRUE/FALSE

Examples

1
2
3
4
5
## Not run: 
exists.in.dropbox(cred,'test_folder')
exists.in.dropbox(cred,'test_folder',is_dir='dir')

## End(Not run)

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