Using S3 as primary storage

When configuring S3 as primary storage for nextcloud the files are being uploaded in the format
urn:oid:817 but I want to upload to a specific path in S3. Also small objects are using multipart uploads.

How can I configure so that files of a specific user goes to a specific path ?

did u solve this?

It sounds like you don’t want S3 as Primary Storage[1]. Instead you want S3 via External Storage[2].

[1] Configuring Object Storage as Primary Storage — Nextcloud latest Administration Manual latest documentation

[2] Configuring External Storage (GUI) — Nextcloud latest Administration Manual latest documentation