Skip to contents

Uploads a file of up to 5 GiB. The file contents should be sent as the request body as raw bytes (an octet stream); do not encode or otherwise modify the bytes before sending. The contents of the resulting file will be exactly the bytes sent in the request body. If the request is successful, there is no response body.

Usage

upload_file(client, file_path, contents, overwrite = NULL)

filesUpload(client, file_path, contents, overwrite = NULL)

Arguments

client

Required. Instance of DatabricksClient()

file_path

Required. The absolute path of the file.

contents

This field has no description yet.

overwrite

If true, an existing file will be overwritten.