Learn R Programming

rDrop (version 0.3-0)

dropbox_create_folder: Function to create new folders in Dropbox.

Description

Function to create new folders in Dropbox.

Usage

dropbox_create_folder(cred, folder_name = NULL,
    curl = getCurlHandle(), ...)

Arguments

cred

An object of class DropboxCredentials with Dropobox specific credentials.

folder_name

Specifies the path to the new folder to create relative to root.

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).

Value

message with success or failure

Examples

Run this code
# NOT RUN {
> dropbox_create_folder(db_cred, 'new_folder')
Folder successfully created at dropbox/new_folder on Thu, 29 Mar 2012 20:51:16 +0000
# }

Run the code above in your browser using DataLab