Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2007

Tip: Looking for answers? Try searching our database.

which is the better way to store small files

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
chenhong - 19 Jul 2007 10:19 GMT
I'm building a website.I have 2000 files(pdf,tif,etc) which users can
download.
And the files will increase in times.
should I put the files into a database table or just put them into a folder.

TIA
Steve C. Orr [MCSD, MVP, CSM, ASP Insider] - 19 Jul 2007 10:58 GMT
If file management could be a headache (such as if you allow users to upload
files) or security is an issue (only certain users can download certain
files) then I'd suggest putting the files in SQL Server.  Otherwise the file
system should be suitable.
Here's more info:
http://SteveOrr.net/articles/EasyUploads.aspx

Signature

I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net

> I'm building a website.I have 2000 files(pdf,tif,etc) which users can
> download.
[quoted text clipped - 3 lines]
>
> TIA
Steve Kershaw - 19 Jul 2007 18:55 GMT
> I'm building a website.I have 2000 files(pdf,tif,etc) which users can
> download.
> And the files will increase in times.
> should I put the files into a database table or just put them into a folder.
>
> TIA

I would put them in a database table with an ID and timestamp for each
file. That way you can sort and delete the old files from SQL Server.

Steve

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.