Learn R Programming

rdrop2 (version 0.6)

drop_exists: Checks to see if a file/folder exists on Dropbox

Description

Since many file operations such as move, copy, delete and history can only act on files that currently exist on a Dropbox store, checking to see if the path is valid before operating prevents bad API calls from being sent to the server. This functions returns a logical response after checking if a file path is valid on Dropbox.

Usage

drop_exists(path = NULL)

Arguments

path
The full path to a Dropbox file

Examples

Run this code
drop_create("existential_test")
drop_exists("existential_test")
drop_delete("existential_test")

Run the code above in your browser using DataLab