b2GetFileInfo: B2 Get File Info.

Description Usage Arguments Details Value Examples

View source: R/b2GetFileInfo.R

Description

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

Usage

1
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.

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.

Value

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

Examples

1
2
3
4
## Not run: 
b2GetFileInfo(fileId = "Unique_identifier_of_the_file")

## End(Not run)

backblazer documentation built on May 30, 2017, 6:15 a.m.

Search within the backblazer package
Search all R packages, documentation and source code