| box_ftp_upload | R Documentation |
Box FTP Upload
box_ftp_upload(file, path, user, pass, ...)
file |
name or path of the local file to be uploaded. |
path |
the path to which the content is to be uploaded. |
user |
Box username (i.e., WashU email) |
pass |
unique password for external applications. Created at https://wustl.app.box.com/account |
... |
additional arguments passed to |
The result of the curlPerform call.
https://wustl.app.box.com/services/box_ftp_server/
## Not run:
file <- tempfile("box_ftp_upload_test", fileext = ".txt")
writeLines(c(
"box_ftp_upload()",
sprintf("uploaded this at %s.", Sys.time())
), file)
path <- file.path("test_directory", basename(file))
user <- Sys.getenv("WUSTL_BOX_USER")
pass <- Sys.getenv("WUSTL_BOX_PASS")
box_ftp_upload(file, path, user, pass)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.