b2HideFile: Hide B2 File.

Description Usage Arguments Details Value Examples

Description

b2HideFile hides a file in the user's account on the Backblaze B2 cloud storage product.

Usage

1
b2HideFile(bucketId, fileName)

Arguments

bucketId

The unique identifier of the bucket containing the file to be hidden. Bucket IDs may be obtained through the b2ListBuckets function in this package.

fileName

The name of the file to be hidden. File names may be obtained through the b2ListFileNames function in this package.

Details

This function hides a file in the user's account on the Backblaze B2 cloud storage product, so that it cannot be downloaded by name. In order to further understand the concept of B2 file versions, see the speficic Backblaze documenation. Further details regarding this API call are available here:

https://www.backblaze.com/b2/docs/b2_hide_file.html https://www.backblaze.com/b2/docs/file_versions.html

bucketId fileName are mandatory and must be user defined.

Value

If successful a list will be returned containing fileId, fileName, action, size and uploadTimestamp.

Examples

1
2
3
4
## Not run: 
b2HideFile(bucketId = "aUniqueBucketId", fileName = "yourFileName.txt")

## End(Not run)

phillc73/backblazer documentation built on May 25, 2019, 5:05 a.m.