EldoS | Feel safer!

Software components for data protection, secure storage and transfer

TElAWSS3DataStorage Rename option

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
Posted: 02/06/2016 09:45:00
by Pascal Coenen (Standard support level)
Joined: 11/17/2010
Posts: 9


I'm using TElAWSS3DataStorage and would like to rename an AWS object. At the moment I do a copy (to object with new name) and delete the old object. Is there a better/easier way to do this?

Second question: AuthType property, is this implemented? I checked the source code but I don't think it is being used at the moment.

Posted: 02/07/2016 16:04:35
by Ken Ivanov (EldoS Corp.)

Hi Pascal,

Unfortunately, there is no way to rename AWS S3 objects in one atomic operation. This is a limitation of S3 API. So using COPY + DELETE is the only option to rename an object.

Note that COPY doesn't copy certain properties of the object (such as ACL, more details are available here), so you should take extra care when working with ACL'ed object.

AWS S3 service currently only supports Amazon's HMAC-based authentication method. The AuthType property was reserved for future, but has no control over component's authentication behaviour.




Topic viewed 1651 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!