Learn R Programming

backblazer (version 0.1.0)

b2GetFileInfo: B2 Get File Info.

Description

b2GetFileInfo returns information about a single file from the user's account on the Backblaze B2 cloud storage product.

Usage

b2GetFileInfo(fileId)

Arguments

fileId
The unique identifier of the file whose information is required. File IDs may be obtained through the b2ListFiles, b2ListFileVersions and b2UploadFile functions in this package.

Value

If successful a list will be returned containing fileId, fileName, accountId, contentSha1, bucketId, contentLength, contentType and fileInfo.

Details

This function returns information about a single file from the user's account on the Backblaze B2 cloud storage product. Further details regarding this API call are available here:

https://www.backblaze.com/b2/docs/b2_get_file_info.html

fileId is mandatory and must be user defined.

Examples

Run this code
## Not run: 
# b2GetFileInfo(fileId = "Unique_identifier_of_the_file")
# ## End(Not run)

Run the code above in your browser using DataLab