I have to move all files and folders from one folder to another of S3 bucket in php. I know a way to do the same thing is:
- Get all objects list from the source folder
- Copy all objects into destination folder
- Delete all objects from source folder
Then I know AWS don't have folders with some sort of hierarchy, it's only buckets based but now a days have any option or updates.
I am using Amazon S3 PHP Class version 0.4.0