Storing .doc and .pdf in database

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Storing .doc and .pdf in database

    Is anyone know how I can store Word Docs and PDF's in database, and how I
    can make link for visitor to download these files


    Bola Guest

  2. Similar Questions and Discussions

    1. Database Storing
      I have created and asp form and connected to a sql database on dw. What is the next step for getting the submit button to store the form info in the...
    2. Storing HTML in a database
      I read an article on storing HTML in a database for the purpose of reusable content....
    3. Storing PDF In SQL Database
      Using the following code I'm able to store some PDFs in a database. Step 1: Write the contents of a PDF file to a variable. Step 2: Store the PDF...
    4. Storing article text in a database
      I have a website with an increasing amount of articles and news reports and so I am thinking of moving away from storing each article as a seperate...
    5. Storing session variables into a Database JSP
      I have a form page that users fillout for a online ad Once completed, they hit "Preview Ad" to view the information that they just entered on the...
  3. #2

    Default Storing .doc and .pdf in database

    Is anyone know how I can store Word Docs and PDF's in database, and how I
    can make link for visitor to download these files


    Bola Guest

  4. #3

    Default Re: Storing .doc and .pdf in database

    1. I personally would not store the files in the database. I would instead
    save the files on the server and then store the paths in the database.
    2. For downloading, just put a link. Or, you can stream the file back
    using [url]http://www.aspfaq.com/2161[/url].
    3. Also see here: [url]http://www.aspfaq.com/5004[/url]

    Ray at work

    "Bola" <dp@bhdani.com> wrote in message
    news:eOfKyqmjDHA.644@TK2MSFTNGP11.phx.gbl...
    > Is anyone know how I can store Word Docs and PDF's in database, and how I
    > can make link for visitor to download these files
    >
    >

    Ray at Guest

  5. #4

    Default Re: Storing .doc and .pdf in database

    1. I personally would not store the files in the database. I would instead
    save the files on the server and then store the paths in the database.
    2. For downloading, just put a link. Or, you can stream the file back
    using [url]http://www.aspfaq.com/2161[/url].
    3. Also see here: [url]http://www.aspfaq.com/5004[/url]

    Ray at work

    "Bola" <dp@bhdani.com> wrote in message
    news:eOfKyqmjDHA.644@TK2MSFTNGP11.phx.gbl...
    > Is anyone know how I can store Word Docs and PDF's in database, and how I
    > can make link for visitor to download these files
    >
    >

    Ray at Guest

  6. #5

    Default Re: Storing .doc and .pdf in database

    Are you sure that's the best approach? I'd research the pros and cons of
    storing binary objects inside the database. I've come across very few
    people who have opted for storing files in a database and, after
    implementing it, still believe it was the best decision. Please look over
    [url]http://www.aspfaq.com/2149[/url] -- which was written with images in mind, but the
    same constructs hold true for any type of file...

    (You might also consider choosing a more select set of groups... my
    newsreader doesn't even support the number of newsgroups you cross-posted
    to.)




    "Bola" <dp@bhdani.com> wrote in message
    news:eOfKyqmjDHA.644@TK2MSFTNGP11.phx.gbl...
    > Is anyone know how I can store Word Docs and PDF's in database, and how I
    > can make link for visitor to download these files
    >
    >

    Aaron Bertrand - MVP Guest

  7. #6

    Default Re: Storing .doc and .pdf in database

    Are you sure that's the best approach? I'd research the pros and cons of
    storing binary objects inside the database. I've come across very few
    people who have opted for storing files in a database and, after
    implementing it, still believe it was the best decision. Please look over
    [url]http://www.aspfaq.com/2149[/url] -- which was written with images in mind, but the
    same constructs hold true for any type of file...

    (You might also consider choosing a more select set of groups... my
    newsreader doesn't even support the number of newsgroups you cross-posted
    to.)




    "Bola" <dp@bhdani.com> wrote in message
    news:eOfKyqmjDHA.644@TK2MSFTNGP11.phx.gbl...
    > Is anyone know how I can store Word Docs and PDF's in database, and how I
    > can make link for visitor to download these files
    >
    >

    Aaron Bertrand - MVP Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139