IPWorks Cloud 2020 ActiveX Edition

Questions / Feedback?

FileList Event

Fires once for each file returned when listing files.

Syntax

Sub backblazeb2control_FileList(Id As String, Name As String, BucketId As String, Size As Long64, ContentType As String, CreatedTime As Long64, ModifiedTime As Long64, Kind As String, SHA1Hash As String)

Remarks

This event fires once for each file returned when ListFiles, ListFileVersions, or ListMultipartUploads is called.

Id reflects the Id of the file. Always empty when Kind is folder.

Name reflects the name of the file.

BucketId reflects the Id of the bucket that the file is in.

Size reflects the size of the file, in bytes. Always 0 when Kind is folder, hide, or start.

ContentType reflects the content type of the file. Always application/x-bz-hide-marker when Kind is hide; and empty when Kind is folder.

CreatedTime reflects the file's creation time, in milliseconds relative to the Unix epoch. Always 0 when Kind is folder.

ModifiedTime reflects the file's last modified time, in milliseconds relative to the Unix epoch. (Note that this parameter will only be populated if a src_last_modified_millis metadata item is included for the file, and if that metadata item's value can be parsed as a 64-bit integer; otherwise, it will be -1. Refer to the ClientModifiedTime configuration setting for more information.)

Kind reflects the file's kind. Possible values are:

folder A "folder" (only applicable when listing files with a Delimiter).
hide A hide marker file version created by HideFile.
start A multipart file upload that has not been completed or abandoned yet.
upload An file that has been uploaded (either directly, or via a multipart upload).

SHA1Hash reflects a hex-encoded SHA1 hash of the file's contents, or empty string if such a hash is not available. Always empty when Kind is folder or hide.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 ActiveX Edition - Version 20.0 [Build 8265]