FileSaver.StoreFile to save files to database in MVC?
gunaseelanra opened this issue · 2 comments
gunaseelanra commented
Please let me know how to customize the storefiles to database.
marufbd commented
You can change the name of the file saved.
Store the file in some temporary directory with your given name. Then read it and store to database.
After that delete the file.
Otherwise you can change the source to get a byte[]
ademgashi commented
@gunaseelanra @marufbd it would be wonderful to have a amazon s3 option as storage also?