Using FileUpload for csv file

I want to upload csv file that would be use to extract the row, but when the file saved to database, it converted to zip. Is there any solution? Thanks
11 Replies
krekas
krekasโ€ข16mo ago
Don't save files directly to db
โ„ฌโ„ด๐’ฟ๐’ฟ๐’พ
I always use FileUpload to save the file, any solution?
krekas
krekasโ€ข16mo ago
You say that you save to db. Save to storage Without showing code how you store no one can help
โ„ฌโ„ด๐’ฟ๐’ฟ๐’พ
I use the Filament FileUpload, sir I use the basic FileUpload to save the csv file, but it converted to zip file, how to keep it to csv?
krekas
krekasโ€ข16mo ago
It doesn't convert unless you do it
โ„ฌโ„ด๐’ฟ๐’ฟ๐’พ
actually it is csv file
krekas
krekasโ€ข16mo ago
Csv might be bad. Have seen bad behavior when it .csv but something was wrong with it
โ„ฌโ„ด๐’ฟ๐’ฟ๐’พ
so it is the file is error? i will try with anouther csv
LeandroFerreira
LeandroFerreiraโ€ข16mo ago
if you are uploading a csv, should be a .csv, not .zip
Want results from more Discord servers?
Add your server