Skip to content

When using MinIO(S3), unable to upload files to the root of the storage. #16739

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

Open
rasxod opened this issue May 1, 2025 · 1 comment
Open

Comments

@rasxod
Copy link

rasxod commented May 1, 2025

I am encountering the error file_folder_err_invalid because the path / is being passed. If I add the parameter prefix /, uploading to the root works, but everything else fails. The issue seems to be related to DIRECTORY_SEPARATOR on Windows, as DIRECTORY_SEPARATOR does not match $container. This discrepancy is likely causing the problem.


MODX 3.0.5
php7.4
WINDOWS DIRECTORY_SEPARATOR = \

@rasxod
Copy link
Author

rasxod commented May 1, 2025

it is corrected like this
Image

but I'm not sure that this is the right decision

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

1 participant