I have read through many responsed about viewing a .doc file in th coldfusion but no is it possible. So can someone explain to me is it possible to view a word doc or rtf file or txt in coldfusion?
You don't really view the doc files in cold fusion..
So specify..
. Are you wanting to link directly to the file, or hide the actual name of it?
. Are you trying to create the file?
. Are you trying to get the extension to be .cfm or the regular extension (.doc, .rtf, .txt)?
---------------------
If this post answered or helped to answer your question, please reply with such so that forum members with a similar question will know to use this advice.
I am trying to display the contents of a word file at the end of a report i was thinking about creating but i just get back a bunch of jumbled characters. I can retrieve a txt file just fine. But anything else that a txt file does not display properly. I guess I do not understand the proper code to display this type of file. I do know you have to use 'cfcontent'.
You cannot append a word file to a seperate type of file in this manner.. what you might consider is using frames, or what would slick is an IFRAME containing your word file..
You can make cfcontent trick the browser into thing your cfm page is a word file or many other types of files.
---------------------
If this post answered or helped to answer your question, please reply with such so that forum members with a similar question will know to use this advice.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.