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

Unable to List Files and Subfolders #75

Open
humzakhaled opened this issue Jul 25, 2024 · 0 comments
Open

Unable to List Files and Subfolders #75

humzakhaled opened this issue Jul 25, 2024 · 0 comments

Comments

@humzakhaled
Copy link

I am encountering issues while trying to list all files using the Storage facade with the 'bunny' disk.

Specifically, I am able to retrieve a file from a specific path using Storage::disk('bunny')->get($path), but when attempting to list all files, I receive an empty array.

Additionally, how can i list content of subfolders?

$files = Storage::disk('bunny')->allFiles()
dd($files); // returns empty array

$contents = Storage::disk('bunny')->listContents('specific-folder-path')
dd($contents); // returns empty array

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