Allen
2 days ago

Where is storage_path('/app/public/') located

I want to run my code via command where i placed a file in folder app/public/results

And i want to access this file with this code:

if ( ! File::exists(storage_path('/app/public/examResult/' . $this->argument('file'))) ) {dd('Not found this file!');}


But its printing not found this file.

Where are these files actually stored where code can find them ?

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Responses
--
Name
Heading
2 days ago
Custom 1

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra.

ReplyDelete
Name
Heading
2 days ago
Custom 1

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra.

ReplyDelete

© 2025 by CodeBloom Education Ltd