gateway-st icon indicating copy to clipboard operation
gateway-st copied to clipboard

Enhancement: Metadata for files uploaded via native protocol

Open HAL9000COM opened this issue 1 year ago • 1 comments

What did you do?

Upload files via Storj native protocol and access them via the gateway.

What did you expect to see?

Files should have metadata.

What did you see instead?

Files have no metadata.

Files uploaded via uplink cli or filezilla won't have metadata when accessed via the gateway, which have compatibility issue with S3 client (e.g. Nextcloud will always report "no ETag" error). I understand that Stroj native protocol does not upload metadata, but can this be solved by enhancement of the s3 gateway? Can such metadata be generated once accessed via the gateway, or some command that scan the bucket and create missing metadata? Related issue: #https://github.com/storj/storj/issues/5424

HAL9000COM avatar Dec 15 '23 11:12 HAL9000COM

I understand that Stroj native protocol does not upload metadata, but can this be solved by enhancement of the s3 gateway?

Objects uploaded through the gateway will have the necessary metadata. If you need S3-related metadata, it's best to use the gateway to upload them. Gateway-ST (this repository) has similar self-hosting capabilities to Uplink CLI.

amwolff avatar Feb 14 '24 14:02 amwolff