Upload a file to volume filesystem.
db_volume_write(
path,
file = NULL,
overwrite = FALSE,
host = db_host(),
token = db_token(),
perform_request = TRUE,
progress = TRUE
)Absolute path of the file in the Files API, omitting the initial slash.
Path to a file on local system, takes precedent over path.
Flag (Default: FALSE) that specifies whether to overwrite
existing files.
Databricks workspace URL, defaults to calling db_host().
Databricks workspace token, defaults to calling db_token().
If TRUE (default) the request is performed, if
FALSE the httr2 request is returned without being performed.
If TRUE, show progress bar for file operations (default: TRUE for uploads/downloads, FALSE for other operations)
Uploads a file of up to 5 GiB.
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_upload_dir()