I am building an ASP.net site where the users will upload documents (Word, Excel, PDF etc) that need to be stored. Is the best place to store these in the SQL database or should I store them in a folder? How would I build this? Just need a few pointers?
I think If your server is only at one place (means it is not shared hosting or you need to move on another machine) then you should store file in the database. And if it stays on one machine (means you owned your own server) then you should store files to your machine and only need to store your file path in the database.
I think If your server is only at one place (means it is not shared hosting or you need to move on another machine) then you should store file in the database. And if it stays on one machine (means you owned your own server) then you should store files to your machine and only need to store your file path in the database.
Thanks.