Reputation: 129
I'm using AWS S3 image upload in my project. For that i'm using graham-campbell package (https://github.com/GrahamCampbell/Laravel-Flysystem/tree/1.0) with Laravel 4.2. In that i can copy single file from one place to another. I can't move all files from one folder to another folder using Flysystem. Anyone have idea, pls shae with me.
Flysystem::copy(string $path, string $newpath);
Upvotes: 0
Views: 561
Reputation: 6292
I know it's not specific to the package however look into how S3 actually works, https://github.com/aws/aws-sdk-php/blob/master/docs/service-s3.rst
Also look in your error logs to see what the issue is.
Upvotes: 1