db_upload: Upload Local Files to Dropbox

Description Usage Arguments Value See Also

View source: R/dropbox.R

Description

This function lets the user upload a local file to Dropbox, using a previously created token or with interactive window.

Usage

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

Value

TRUE when successfully uploads file.

See Also

Other Tools: autoline(), bindfiles(), bring_api(), db_download(), export_plot(), export_results(), get_credentials(), h2o_predict_API(), h2o_predict_MOJO(), h2o_predict_binary(), h2o_predict_model(), h2o_selectmodel(), haveInternet(), image_metadata(), importxlsx(), ip_data(), json2vector(), listfiles(), mailSend(), msplit(), myip(), quiet(), read.file(), statusbar(), tic(), try_require(), updateLares(), zerovar()

Other Credentials: db_download(), get_credentials(), get_tweets(), mailSend(), queryDB(), queryGA(), slackSend(), stocks_file(), stocks_report()

Other Dropbox: db_download()


lares documentation built on June 9, 2021, 9:06 a.m.