Skip to contents

Upload a file to volume filesystem.

Usage

db_volume_write(
  path,
  file = NULL,
  overwrite = FALSE,
  host = db_host(),
  token = db_token(),
  perform_request = TRUE
)

Arguments

path

Absolute path of the file in the Files API, omitting the initial slash.

file

Path to a file on local system, takes precedent over path.

overwrite

Flag (Default: FALSE) that specifies whether to overwrite existing files.

host

Databricks workspace URL, defaults to calling db_host().

token

Databricks workspace token, defaults to calling db_token().

perform_request

If TRUE (default) the request is performed, if FALSE the httr2 request is returned without being performed.

Details

Uploads a file of up to 5 GiB.