MvcFileUploader icon indicating copy to clipboard operation
MvcFileUploader copied to clipboard

FileSaver.StoreFile to save files to database in MVC?

Open gunaseelanra opened this issue 11 years ago • 2 comments

Please let me know how to customize the storefiles to database.

gunaseelanra avatar Dec 11 '14 12:12 gunaseelanra

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[]

marufbd avatar Dec 12 '14 04:12 marufbd

@gunaseelanra @marufbd it would be wonderful to have a amazon s3 option as storage also?

ademgashi avatar Jan 30 '16 18:01 ademgashi