?
Solved

ASP.net and SQL Upload documents for storage

Posted on 2013-06-03
2
Medium Priority
?
214 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 2000 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

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…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Suggested Courses

764 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