Archived Forum Post

Index of archived forum posts

Question:

Is there a way to add and modify metadata in aws_s3 in vb6?

Jan 19 '17 at 22:17

Is there a way to add and modify metadata in aws_s3 in vb6?


Answer

I created an example. (See below for the link that is to the VB6 example.)

I reviewed the S3 REST API reference, and did not find anything to update metadata. I also found this: http://stackoverflow.com/questions/32646646/how-do-i-update-metadata-for-an-existing-amazon-s3-file

Each Amazon S3 object has data, a key, and metadata. Object key (or key name) uniquely identifies the object in a bucket. Object metadata is a set of name-value pairs. You can set object metadata at the time you upload it. After you upload the object, you cannot modify object metadata. The only way to modify object metadata is to make a copy of the object and set the metadata.


Android: Upload File with User-Defined Metadata

Classic ASP: Upload File with User-Defined Metadata

C: Upload File with User-Defined Metadata

C++: Upload File with User-Defined Metadata

C#: Upload File with User-Defined Metadata

C# UWP/WinRT: Upload File with User-Defined Metadata

DataFlex: Upload File with User-Defined Metadata

Delphi ActiveX: Upload File with User-Defined Metadata

Delphi DLL: Upload File with User-Defined Metadata

.NET Core C#: Upload File with User-Defined Metadata

Excel: Upload File with User-Defined Metadata

Visual FoxPro: Upload File with User-Defined Metadata

Java: Upload File with User-Defined Metadata

Lianja: Upload File with User-Defined Metadata

MFC: Upload File with User-Defined Metadata

Mono C#: Upload File with User-Defined Metadata

Node.js: Upload File with User-Defined Metadata

Objective-C: Upload File with User-Defined Metadata

Perl: Upload File with User-Defined Metadata

PHP ActiveX: Upload File with User-Defined Metadata

PHP Extension: Upload File with User-Defined Metadata

PowerBuilder: Upload File with User-Defined Metadata

PowerShell: Upload File with User-Defined Metadata

PureBasic: Upload File with User-Defined Metadata

Python: Upload File with User-Defined Metadata

Ruby: Upload File with User-Defined Metadata

SQL Server: Upload File with User-Defined Metadata

Swift: Upload File with User-Defined Metadata

Tcl: Upload File with User-Defined Metadata

Unicode C: Upload File with User-Defined Metadata

Unicode C++: Upload File with User-Defined Metadata

Visual Basic 6.0: Upload File with User-Defined Metadata

VB.NET: Upload File with User-Defined Metadata

VB.NET UWP/WinRT: Upload File with User-Defined Metadata

VBScript: Upload File with User-Defined Metadata

Xojo Plugin: Upload File with User-Defined Metadata


Answer

Thank you very much!!!! Is there a way to read the Meta_Data of the file uploaded to AWS_S3?

I think we can use the "GetRequestHeader" function, but I do not know the exact method.