B2 Get File Info.

Share:

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)