Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directory deleted after upload file s3 #3285

Closed
LucaMino opened this issue Jun 9, 2023 · 1 comment
Closed

Directory deleted after upload file s3 #3285

LucaMino opened this issue Jun 9, 2023 · 1 comment

Comments

@LucaMino
Copy link

LucaMino commented Jun 9, 2023

When I try to upload a file from s3 directory to another s3 directory using custom path. I see that the new directory has been deleted after it has been generated all the images.

This's a snippet from my code using laravel media library v. 10 and php v. 8.1.

$category->addMediaFromDisk($category_path, 's3')->preservingOriginal()->toMediaCollection('image');

Thank you

@elmudometal
Copy link

i think this is related to this #3252

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants