Hello All:

I have a question about CF MX. I have simple code that creates a text 
file where each line should have a carriage return at the end. This 
works in CF5 but in MX it creates one long string in the text file.

<!--- **************************** White Pages: Start 
******************************** --->

<cfset WhitePages_1     = "#chr(35)# 
********************************************************************************************">
<cfset WhitePages_2     = "#chr(35)# 
********************************************************************************************">
<cfset WhitePages_3     = "#chr(35)# *****   Hierarchy Level: 
WHITEPAGES>(Divisions||Unknown||Students)>...  ********************">
<cfset WhitePages_4     = "#chr(35)# 
********************************************************************************************">
<cfset WhitePages_5     = "#chr(35)# 
********************************************************************************************">
<cfset WhitePages_6     = "dn: ou=White Pages,o=WhitePages">
<cfset WhitePages_7     = "ou: White Pages">
<cfset WhitePages_8     = "objectClass: top">
<cfset WhitePages_9     = "objectClass: organizationalUnit">
<cfset WhitePages_10     = "description: Members of White Pages">


<CFSET 
WhitePages_Results="#WhitePages_1##CHR(10)##WhitePages_2##CHR(10)##WhitePages_3##CHR(10)##WhitePages_4##CHR(10)##WhitePages_5##CHR(10)##WhitePages_6##CHR(10)##WhitePages_7##CHR(10)##WhitePages_8##CHR(10)##WhitePages_9##CHR(10)##WhitePages_10##CHR(10)##CHR(10)#">

<cffile action="APPEND" file="c:\test.txt" output="#WhitePages_Results#">

Any ideas?

It should look something like this..

dn: o=WhitePages
# Define the LDAP root
objectClass: top
objectClass: organization
o: WhitePages

Regards,
JB


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

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

Reply via email to