This function lets the user upload a local file to Dropbox, using a previously created token or with interactive window.
Usage
db_upload(
filename,
dir,
delete_file = FALSE,
token_dir = NA,
token_name = "token_pers.rds"
)Arguments
- filename
String. Local file's name to upload.
- dir
String. Directory you wish to upload the file to.
- delete_file
Boolean. Delete local file after uploading?
- token_dir
Character. RDS with token local directory. You may set to NA if you already set your credentials (see
get_creds())- token_name
Character. RDS file name with your token's data.
See also
Other Tools:
autoline(),
bind_files(),
bring_api(),
chr2num(),
db_download(),
dont_sleep(),
export_plot(),
export_results(),
files_functions(),
font_exists(),
formatColoured(),
formatHTML(),
glued(),
grepm(),
h2o_selectmodel(),
haveInternet(),
image_metadata(),
importxlsx(),
ip_data(),
json2vector(),
list_cats(),
listfiles(),
mail_send(),
markdown2df(),
move_files(),
msplit(),
myip(),
quiet(),
read.file(),
statusbar(),
tic(),
try_require(),
updateLares(),
warnifnot(),
what_size()
Other Credentials:
db_download(),
encrypt_file(),
get_credentials(),
get_tweets(),
mail_send(),
queryDB(),
queryGA(),
slackSend(),
stocks_file()
Other Dropbox:
db_download()
