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

Description Usage Arguments Value Examples

View source: R/dropbox_error_handlers.r

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 18, 2017, 3:30 p.m.