downloadDirFiles: Single Directory Operations for Downloading and Uploading...

Description Usage Arguments Value

View source: R/boxr__internal_diff_and_uldl.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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.


boxr documentation built on Jan. 19, 2021, 5:06 p.m.