Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Storing files

Storing files

Scheduled Pinned Locked Moved ASP.NET
databasealgorithmsperformancequestiondiscussion
3 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Christer Claesson
    wrote on last edited by
    #1

    Hello guys and girls. I'm working on page that will store alot of word, excell and pdf documents(maybe some more types) and I'm wondering if there is any best practice to handle the files storage? Perhaps some links on it(I've searched around some but have not found anything) Should I put them in a database as blobs? Or should I store them in a "normal" file structure and perhaps index them in a database? Does it exist an easy way to search contents in word files? Searching only on filenames wont be enough probably.(I saw an article here but I think it was mostly concentrated on spidering the web, would it work in word files and how costly is such a spider in performance and space usually) Thanks in advance Christer

    M 1 Reply Last reply
    0
    • C Christer Claesson

      Hello guys and girls. I'm working on page that will store alot of word, excell and pdf documents(maybe some more types) and I'm wondering if there is any best practice to handle the files storage? Perhaps some links on it(I've searched around some but have not found anything) Should I put them in a database as blobs? Or should I store them in a "normal" file structure and perhaps index them in a database? Does it exist an easy way to search contents in word files? Searching only on filenames wont be enough probably.(I saw an article here but I think it was mostly concentrated on spidering the web, would it work in word files and how costly is such a spider in performance and space usually) Thanks in advance Christer

      M Offline
      M Offline
      Mike Ellison
      wrote on last edited by
      #2

      Hi Christer. My humble opinion - unless you have a real good reason for putting the files in the database as blobs (database replication perhaps?) I would keep the files in a normal file structure and index them in the database. As for your Word question - I'm sorry, I don't have an answer to that. Does Google bring up any useful results?

      C 1 Reply Last reply
      0
      • M Mike Ellison

        Hi Christer. My humble opinion - unless you have a real good reason for putting the files in the database as blobs (database replication perhaps?) I would keep the files in a normal file structure and index them in the database. As for your Word question - I'm sorry, I don't have an answer to that. Does Google bring up any useful results?

        C Offline
        C Offline
        Christer Claesson
        wrote on last edited by
        #3

        Thanks for your advice, I think I will only index them in my database then. I have not found anything about Word yet, but if I find something interesting I will post it here. Might even make an article out of it.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups