Depending on the version of CF and OS, different ways would be
preferable. Assuming they haven't disabled cfobject though, using the
Scripting.FileSystemObject (GetFile() or OpenTextFile()), or
java.io.FileReader will both work.

http://java.sun.com/j2se/1.4/docs/api/java/io/FileReader.html
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbenlr98/html/vamthgetfile.asp

I have some code examples for both methods somewhere. If you would
want to see them let me know.

-- 
jon
mailto:[EMAIL PROTECTED]

Tuesday, January 7, 2003, 4:57:00 AM, you wrote:

 
RB> I can use CFExecute on my host. But the file I create I need to read it
RB> into a variable, but CFFILE does not seem to work as it throws an error
RB> saying it exceeded the allotted time limit, so I am guessing they shut
RB> this off, but kept CFExecute. Well, here is my question: Can I read the
RB> contents of this file into a variable without using CFFile? 
 
RB> Robert Bailey
RB> [EMAIL PROTECTED]
RB> "Famous for nothing!"
RB> http://www.tinetics.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to