File Not Found For Download

Published 1 month ago by vkronlein

I'm getting a FileNotFoundException using the Storage Facade when the file is indeed there. I'm looking at it in the damn folder. The path and filename are correct, I've triple checked everything ...

The weird part is I'm downloading it from another section via controller using response()->download($same->path) and it works perfectly.

If I use Storage::get($same->path) it returns the file as a string ... but the download method can't seem to find it.

I've read the docs ... am I missing something obvious?


1 month ago (152,030 XP)

@vkronlein you create

php artisan storage:link




Uh ... no. These downloads aren't public, aside from which, I already have the storage link set up.

Please sign in or create an account to participate in this conversation.