Description Usage Arguments Details Value
View source: R/b2_download_files.R
Download a file in B2 by the file id
1 | b2_download_file_by_id(file_id, output_file, overwrite = FALSE, ...)
|
file_id |
The file id |
output_file |
(Optional) Path of the file on disk to which to save the downloaded content |
overwrite |
Whether to overwrite the existing output file |
... |
Optional parameters (see details) |
See https://www.backblaze.com/b2/docs/b2_download_file_by_id.html
The file id can be obtained from a call to b2_list_file_names
.
To download a file using the bucket name and file use, call
b2_download_file_by_name
An optional arguments to the API call can be passed as named arguments
Range
- A byte-range request, as described in
https://www.backblaze.com/b2/docs/b2_download_file_by_id.html
The response from httr::GET
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.