AppendObject Method

Appends data onto an object on the server.

Syntax

int AppendObject(const QString& qsObjectName);

Remarks

This method will append the content of the file specified by LocalFile into the bucket specified by the Bucket property. If LocalFile is empty, the contents of the ObjectData property will be uploaded instead.

You may only append to an object that already exists. To create a new object, use the CreateObject method.

Note: Appending is a form of object composition, so the same restrictions that apply for object composition also apply when appending to objects; refer to ComposeObjects for more information.

Error Handling

This method returns a result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message. (Note: This method's result code can also be obtained by calling the GetLastErrorCode() method after it returns.)

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