Can we create S3 URL as per folder structure in Admin console?


#1

Hi,

We havev configured Asset server with S3 bucket storage location and When upload image as Asset then S3 storage returns image URL look like below.

URL syntax:

https://S3bucketdomainname/folderid/assetType/assetid/imagename.jpeg

Eg:

https://S3bucketdomainname.com/C031C7A10C8C4D69A1AF2D53BC3879C7/img/593E8FDD453740029AD4BE2C07326FE5/devops-y-continuos-delivery-con-visual-studio-team.jpg

Is there any way to configure S3 URL with desired foldes structure from console? See my example below
Folder structure in Console/Asset Server

Parent
–ChildFolder1
----ChildFolder2
------Image/File

Expected URL from S3 after successful upload like below
https:///Parent/ChildFolder1/ChildFolder2/image.jpeg

Please suggest.


#2

The S3 URL structure is fixed. You can use something like URLrewrite on your end to achieve what you want.