local: (character) The name of the local directory
remote: (character) The name of the remote directory
spaces_region: (character) String containing a spaces region. If missing, defaults to value stored in an environment variable DO_SPACES_REGION.
spaces_key: (character) String containing a spaces access key. If missing, defaults to value stored in an environment variable DO_SPACES_ACCESS_KEY.
spaces_secret: (character) String containing the secret associated with the spaces key. If missing, defaults to value stored in an environment variable DO_SPACES_SECRET_KEY.
...: Additional arguments to arrow::copy_files
Returns
(character) Success/error message.
Examples
## Not run:# Upload to an existing Space# (Check names within region)space_download("my_space","my_subdir","my_subdir","nyc3", spaces_key = Sys.getenv("SPACES_KEY"), spaces_secret = Sys.getenv("SPACES_SECRET"))## End(Not run)