carina312 wrote a reply+100 XP
2mos ago
Response of the browser: content-type: application/vnd.ms-excel
In my test-file there is only the word TEST
and in the broken file there are many symbols, numbers,...:
Calibri Light1,6¼)Calibri16¼)Calibri1Ü6¼)Calibri1Ü)Calibri1Ü)Calibri1Ü<)Calibri1Ü>)Calibri1Ü? 00_ ;_ *}-} 00_ ;_ *}-} 00_ ;_ *}-} 00_ ;_ *}-} 00_ ;_ *}-} 00_ ;_ *}-} 00_ ;_ *}-}
carina312 wrote a reply+100 XP
2mos ago
carina312 wrote a reply+100 XP
2mos ago
carina312 started a new conversation+100 XP
2mos ago
Hi guy's,
I want to download an excel-file stored in storage/app/private/import via controller-function but everytime i open the downloaded-file I get an error: 'File-Type does not match file-extension'.
public function download($path) { $disk = Storage::disk('local'); return Storage::download($path); }
I have this problem with .xls and .xlsx Files
Can you help me?