How can I get the url of the folder that is stored in the s3 bucket?

Viewed 1111

So I am able to view the object URL of the files in the S3 bucket, but I'd also like to view the URL of the folder uploaded in that bucket.

Is that even possible?

Let me know, please...

1 Answers

Did you try getting the url for a particular item in the folder, and then truncating the url at the desired folder?

Example:

https://bucket-name.s3.amazonaws.com/folder/object

https://bucket-name.s3.amazonaws.com/folder/

I'm not really sure if that's what you're after...

On the otherhand, if you're using the console, you can click on properties of the folder and view the s3 uri also.

Related