Go Premium for a chance to win a PS4. Enter to Win


Reading a Word Doc

Posted on 2002-04-12
Medium Priority
Last Modified: 2013-12-24

I think I need to use CFFile: Read, but am not sure how. I am currently uploading word and pdf documents to my web site automatically and want to store all of the content of each document into a specific database table field. Doees anybody have any idea how I can read the content of a specific word or pdf document, in order to insert this information into a database? It doesn't have to look pretty - I plan on running a keyword search against this content. Thanks for your help...
Question by:rajeevmshah

Expert Comment

ID: 6937566
1. upload the document using cffile and upload..

2. convert word to html and store in DB as needed
LVL 19

Expert Comment

ID: 6938691
you should store the files in a particular directory and you use CF's search facilities to index and run a search against it.  Probably better than doing your own DB solution for search.  AFAIK, CF can index and search PDF and Word files.

Author Comment

ID: 6939078
Thanks, guys. I like cheekycj's method. Can you please paste some sample code that would allow me to index the documents and run a search? Thanks a lot...
New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.


Expert Comment

ID: 6939517
Check the 'Verity' Section in your CF Docco
LVL 19

Accepted Solution

cheekycj earned 800 total points
ID: 6942257
LVL 35

Expert Comment

ID: 10784696
No comment has been added lately, so it's time to clean up this question.
I will leave the following recommendation in the Cleanup topic area:

Accept cheekycj

Please leave any comments here within the next four days.

EE Cleanup Volunteer

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

What You Need to Know when Searching for a Webhost Provider
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

877 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