Description Usage Arguments Value Examples
If no folder is specifies, it will only list contents of the root folder.
1 2 3 |
cred |
An object of class DropboxCredentials with Dropobox specific credentials. |
path |
The directory to list. Not yet implemented |
verbose |
logical. FALSE returns a list with file
names in root folder. TRUE returns a |
deleted |
logical. Default is FALSE. Set to TRUE to also list deleted files. |
pattern |
an optional regular expression. Only file names which match the regular expression will be returned. |
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). |
directory listing with file or folder names unless
verbose = TRUE
in which case a data.frame is
returned.
1 2 3 4 5 6 7 8 | ## Not run:
dropbox_dir(db_cred)
dropbox_dir(db_cred, path='/specific_folder')
dropbox_dir(db_cred,path='/specific_folder', verbose = TRUE)
dropbox_dir(db_cred,path='/specific_folder', pattern='file', verbose = TRUE)
returns a dataframe with fields .id, revision, rev, thumb_exists, bytes, modified path, is_dir, icon, root, size, client_mtime, mimetype.
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.