PartList Event

Fires once for every part returned when listing a multipart upload's parts.

Syntax

ANSI (Cross Platform)
virtual int FirePartList(S3ClientPartListEventParams *e);
typedef struct {
int PartNumber;
const char *ObjectName;
const char *LastModified;
int64 Size;
const char *ETag;
const char *OwnerId;
const char *OwnerName; int reserved; } S3ClientPartListEventParams; Unicode (Windows) virtual INT FirePartList(S3ClientPartListEventParams *e);
typedef struct {
INT PartNumber;
LPCWSTR ObjectName;
LPCWSTR LastModified;
LONG64 Size;
LPCWSTR ETag;
LPCWSTR OwnerId;
LPCWSTR OwnerName; INT reserved; } S3ClientPartListEventParams;
- (void)onPartList:(int)partNumber :(NSString*)objectName :(NSString*)lastModified :(long long)size :(NSString*)ETag :(NSString*)ownerId :(NSString*)ownerName;
#define EID_S3CLIENT_PARTLIST 9

virtual INT IPWORKSS3_CALL FirePartList(INT &iPartNumber, LPSTR &lpszObjectName, LPSTR &lpszLastModified, LONG64 &lSize, LPSTR &lpszETag, LPSTR &lpszOwnerId, LPSTR &lpszOwnerName);

Remarks

This event fires once for each multipart upload part returned when ListParts is called.

PartNumber reflects the part's number.

ObjectName reflects the name of the object the multipart upload is for.

LastModified reflects the last modified time of the part.

Size reflects the size, in bytes, of the part.

ETag reflects the part's ETag of the part.

OwnerId and OwnerName reflect the Id and display name of the part's owner, respectively.

Note: This event is not applicable when ServiceProvider is spGoogleStorage (2); Google Cloud Storage does not support multipart uploads.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks S3 2020 C++ Edition - Version 20.0 [Build 8178]