Return the contents of a file within a volume (up to 2GiB).
Arguments
- path
Absolute path of the file in the Files API, omitting the initial slash.
- destination
Path to write downloaded file to.
- 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, ifFALSE
the httr2 request is returned without being performed.
See also
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_write()