Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileSaver.StoreFile to save files to database in MVC? #14

Open
gunaseelanra opened this issue Dec 11, 2014 · 2 comments
Open

FileSaver.StoreFile to save files to database in MVC? #14

gunaseelanra opened this issue Dec 11, 2014 · 2 comments

Comments

@gunaseelanra
Copy link

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

@marufbd
Copy link
Owner

marufbd commented Dec 12, 2014

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants