Question


I am working on the S3 bucket uploads and encountered an issue.I want to update the folder name inside one of my bucket.Went through the API here,but did not find a solution.
I would like to know if it is possible to achieve it or not?I would like experts over here to give inputs on it.

Thank you for your time.

Was it helpful?

Solution

Folders are not really folders in s3. They are just parts of the object key.

To "rename" the folder, you will need to rename all the objects inside the folder to include a different folder in its path.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top