Learn R Programming

backblazer (version 0.1.0)

b2HideFile: Hide B2 File.

Description

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

Usage

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.

Value

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

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.

Examples

Run this code
## Not run: 
# b2HideFile(bucketId = "aUniqueBucketId", fileName = "yourFileName.txt")
# ## End(Not run)

Run the code above in your browser using DataLab