upload_directory_cnt {connector} | R Documentation |
Upload a directory
Description
Generic implementing of how to upload a directory for a connector. Mostly relevant for file storage connectors.
-
ConnectorFS: Uses
fs::dir_copy()
.
Usage
upload_directory_cnt(
connector_object,
dir,
name,
overwrite = zephyr::get_option("overwrite", "connector"),
open = FALSE,
...
)
## S3 method for class 'ConnectorFS'
upload_directory_cnt(
connector_object,
dir,
name,
overwrite = zephyr::get_option("overwrite", "connector"),
open = FALSE,
...
)
Arguments
connector_object |
Connector The connector object to use. |
dir |
character Path to the directory to upload |
name |
character The name of the new directory to place the content in |
overwrite |
Overwrite existing content if it exists in the connector?. Default: |
open |
logical Open the directory as a new connector object. |
... |
Additional arguments passed to the method for the individual connector. |
Value
invisible connector_object.
[Package connector version 0.1.1 Index]