Solved

ASP.net and SQL Upload documents for storage

Posted on 2013-06-03
2
211 Views
Last Modified: 2013-06-07
Hi

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?

Thanks
0
Comment
Question by:Murray Brown
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
aplusexpert earned 500 total points
ID: 39215980
Hi murbro,

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.
0
 

Author Closing Comment

by:Murray Brown
ID: 39228432
Thanks
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question