Are you trying to write to the text file or just read the whole thing in?

<!----------------//------
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->

-----Original Message-----
From: Matthew Blatchley [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 05, 2005 12:29 PM
To: CF-Talk
Subject: CFHTTP


I'm trying to break down a txt file using cfhttp and running into a road
block.  It's txt file that contains regular and HTML tags.  I keep getting
an error when it gets to the HTML code in the file.

example:
<cfhttp url="description.txt" method="GET" name="Inventory_Stats"
columns="SKU,PRODUCT_DESCRIPT" textqualifier="" delimiter="|">
The text file format looks like this:
12345354 | <p>html here</p>
I continue to not be able to get the HTML to be put in a column properly and
get an error.

"Illegal operation in Cold Fusion Extension (CFX) You have attempted to
refer to an invalid row/column combination of a query."

  I've tried a few different attempts and have read a few different posting,
but most aren't doing exactly this.  What to I need to do, use
#cfhttp.FileContent# instead and then loop through the records?

Matt





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220145
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to