View source: R/sync_server_local.R
sync_server_local | R Documentation |
sync_server_local Standalone function to Download/Upload files from server to local folder or vice-versa
sync_server_local(
server_folder,
local_folder,
direction,
only_test = TRUE,
exclude_csv = FALSE,
delete_nonexistent = FALSE,
ignore_existing = FALSE,
dont_ask = FALSE,
all_messages = TRUE,
credentials_file = NULL
)
server_folder |
server folder |
local_folder |
local folder |
direction |
should be either 'server_to_local' or 'local_to_server' |
only_test |
TRUE/FALSE |
exclude_csv |
DO NOT INCLUDE DATA |
delete_nonexistent |
Delete files locally if they are NOT in server anymore |
ignore_existing |
If TRUE, does not overwrite existing files even if they are newer. Good for .data/, Bad for rest |
dont_ask |
For the initial setup, do not ask and proceed! DANGER |
all_messages |
show all messages |
credentials_file |
Path to .credentials file. Usually: |
Sync folders
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.