I receive a text file over which I have no control. It is an ascii delimited
file with column names in the
first line. When I try to read it in using cffile:
<cffile action="READ" file="I:\Stressless\sl0930\downloads\inventory.txt"
variable="inventory">
<cfa_dump var="#inventory#">
it gives the proper length string but if I try to print it out it truncates
after about 350 characters. (No its not the cfa_dump tag it happens with
cfoutput also)
If I open it in studio and then save it (making no changes) and use cffile
again it comes in properly.
Also if I create an ODBC datasource for the file and bring it in as a query
it comes in fine. The only problem with that is <RANT>the owners of the file
have spaces in field names</RANT> and I can't refer to them in CF (unless
someone else can give me a hint on that).
If this were a one time occurence I would just clean up the names in studio
and be done with it. Unfortunately it comes in daily.
Any suggestions? TIA
Don
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.