Reading a Word Doc

Posted on 2002-04-12
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...
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.


Expert Comment

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

Accepted Solution

cheekycj earned 200 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity Hosting Plan security, reliable, stable 1 75
IPA - can it be run on a web server? 3 177
AWS New EC2 Instance and EBS Storage 2 78
Change local server setting in php 6 87
This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
A web service ( is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

776 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