Generic implementing of how to upload a directory for a connector. Mostly relevant for file storage connectors.
ConnectorFS: Uses fs::dir_copy()
.
upload_directory_cnt(
connector_object,
dir,
name,
overwrite = zephyr::get_option("overwrite", "connector"),
open = FALSE,
...
)# S3 method for ConnectorFS
upload_directory_cnt(
connector_object,
dir,
name,
overwrite = zephyr::get_option("overwrite", "connector"),
open = FALSE,
...
)
invisible connector_object.
Connector The connector object to use.
character Path to the directory to upload
character The name of the new directory to place the content in
Overwrite existing content if it exists in the connector?. Default: FALSE
.
logical Open the directory as a new connector object.
Additional arguments passed to the method for the individual connector.