Learn R Programming

boxr (version 0.3.3)

deleteRemoteObjects: Single Directory Operations for Downloading and Uploading mutiple Files

Description

Download or upload the contents of a box.com directory, not including subdirectories

Usage

deleteRemoteObjects(dir_id, local_dir = getwd())
downloadDirFiles(dir_id, local_dir = getwd(), overwrite = TRUE, dir_str = getwd())
uploadDirFiles(dir_id, local_dir = getwd(), overwrite = TRUE)

Arguments

dir_id
The box.com id for the folder that you'd like to query
local_dir
The local directory which you'd like dir_id to correspond to. If you're not interested in mapping local to hosted directories, this isn't terribly important.

Value

TRUE for a successful sync, NULL if the box.com folder is empty.