b2_download_file_by_name: Download a file

Description Usage Arguments Details Value

View source: R/b2_download_files.R

Description

Download a file in B2 by the file name

Usage

1
2
b2_download_file_by_name(bucket_name, file_name, output_file,
  overwrite = FALSE, ...)

Arguments

bucket_name

The name of the bucket containing the file

file_name

The name of the file in the bucket

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)

Details

See https://www.backblaze.com/b2/docs/b2_download_file_by_name.html

To download a file using the file id, call b2_download_file_by_id

Optional parameters

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

Value

The response from httr::GET


mvanhala/B2R documentation built on Aug. 26, 2020, 10:42 a.m.