db_volume_upload_dir | R Documentation |
Upload all files from a local directory to a volume directory using parallel requests.
db_volume_upload_dir(
local_dir,
volume_dir,
overwrite = TRUE,
preserve_structure = TRUE,
host = db_host(),
token = db_token()
)
local_dir |
Path to local directory containing files to upload |
volume_dir |
Volume directory path (must start with /Volumes/) |
overwrite |
Flag to overwrite existing files (default: TRUE) |
preserve_structure |
If TRUE, preserve subdirectory structure (default: TRUE) |
host |
Databricks workspace URL, defaults to calling |
token |
Databricks workspace token, defaults to calling |
TRUE if all uploads successful
Other Volumes FileSystem API:
db_volume_delete()
,
db_volume_dir_create()
,
db_volume_dir_delete()
,
db_volume_dir_exists()
,
db_volume_file_exists()
,
db_volume_list()
,
db_volume_read()
,
db_volume_write()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.