File Download not working
Hi,
I'm struggling a lot with file uploads.
Right now, the only thing missing is fixing the download of previous upload and saved file.
It's downloading but I can't open it ('Unrecognized image file format') and the file size is much bigger than the saved file.
Do I need to specify anything else besides the
downloadable
?2 Replies
Your code shows it saving to disk
local
. When the upload completes, does the temporary upload file show in /storage/app/livewire-tmp
? And if you look at the file contents, is it "right"? or is it corrupt there as part of the upload?@drbyte Thank you for the help. Yes. The image is on the livewire-tmp and also on the final folder (the code moves it to a custom folder). And I can see both images fine. But the download does not work