File Not Found For Download

Posted 3 months 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?


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

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.