b2ListFileNames
lists the names of all files in a bucket, starting at
a given name.
b2ListFileNames(bucketId, startFileName = "", maxFileCount = 100)
b2ListBuckets
function in this package.b2ListFileNames
function in this package.files
and
nextFileName
, for files within the specified bucket. If greater than
the maximum number of specified files in maxFileCount
exists,
further file names may be obtained beginning with nextFileName
, as
the startFileName
parameter value. If successful a data frame will
be returned, nested within files
, containing fileId
,
fileName
, action
, size
and uploadTimestamp
for
all files within the specified bucket.
b2ListFileVersions
instead. Further details regarding this API call
are available here:https://www.backblaze.com/b2/docs/b2_list_file_names.html
bucketId
is mandatory and must be user defined. startFileName
and maxFileCount
are optional and may be defined by the user if so
desired.
## Not run:
# b2ListFileNames(bucketId = "aUniqueBucketId",
# startFileName = "yourFileName.png",
# maxFileCount = 500)
# ## End(Not run)
Run the code above in your browser using DataLab