RE: Carriage Returns with CFFILE
I didn't have a lot of luck with the tags for some reason, but give it a shot. JoAnn A. Schlosser Senior Consultant Association Management Software Grant Thornton LLP Washington, D. C. 703.837.4428 -Original Message- From: Billy Cravens [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 4:47 PM To: CF-Talk Subject: RE: Carriage Returns with CFFILE Or even #fulltext# Perhaps you should write the file with #Chr(10)# instead? That's what I usually do, then replace it with when I output. --- Billy Cravens Web Development, EDS [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 3:18 PM To: CF-Talk Subject: RE: Carriage Returns with CFFILE Write the file: retrieve it with: show it on screen with normal text formatting with: #paragraphformat(FULLTEXT)# JoAnn A. Schlosser Senior Consultant Association Management Software Grant Thornton LLP Washington, D. C. 703.837.4428 -Original Message- From: Chris Jensen [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 2:29 AM To: CF-Talk Subject: Carriage Returns with CFFILE Hi, I'm having some difficulty writing a simple DOS text file with CFFILE ACTION="write" I'm creating the file in a variable ie outputtext = line1 & chr(13) & line2 ...etc; But cold fusion seems to be interpreting the carriage returns and/or line feeds. I need to get a regular DOS texrt file, ie new lines are CR/LF pairs. I've tried outputting CF/LF's, CR's and LF's but when I look at the file I don't end up with CR/LF's. How do I tell cold fusion what I want? -- - Chris Jensen [EMAIL PROTECTED] Educational Experience (Australia) Postal Address: PO Box 860, Newcastle NSW 2300 Freecall: 1-800-025 270 International: +61-2-4923 8222 Fax:(02) 4942 1991 International: +61-2-4942 1991 Visit our online Toy store! http://www.toysandmore.com.au/ - FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Carriage Returns with CFFILE
Or even #fulltext# Perhaps you should write the file with #Chr(10)# instead? That's what I usually do, then replace it with when I output. --- Billy Cravens Web Development, EDS [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 3:18 PM To: CF-Talk Subject: RE: Carriage Returns with CFFILE Write the file: retrieve it with: show it on screen with normal text formatting with: #paragraphformat(FULLTEXT)# JoAnn A. Schlosser Senior Consultant Association Management Software Grant Thornton LLP Washington, D. C. 703.837.4428 -Original Message- From: Chris Jensen [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 2:29 AM To: CF-Talk Subject: Carriage Returns with CFFILE Hi, I'm having some difficulty writing a simple DOS text file with CFFILE ACTION="write" I'm creating the file in a variable ie outputtext = line1 & chr(13) & line2 ...etc; But cold fusion seems to be interpreting the carriage returns and/or line feeds. I need to get a regular DOS texrt file, ie new lines are CR/LF pairs. I've tried outputting CF/LF's, CR's and LF's but when I look at the file I don't end up with CR/LF's. How do I tell cold fusion what I want? -- - Chris Jensen [EMAIL PROTECTED] Educational Experience (Australia) Postal Address: PO Box 860, Newcastle NSW 2300 Freecall: 1-800-025 270 International: +61-2-4923 8222 Fax:(02) 4942 1991 International: +61-2-4942 1991 Visit our online Toy store! http://www.toysandmore.com.au/ - FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ ~~ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Carriage Returns with CFFILE
Write the file: retrieve it with: show it on screen with normal text formatting with: #paragraphformat(FULLTEXT)# JoAnn A. Schlosser Senior Consultant Association Management Software Grant Thornton LLP Washington, D. C. 703.837.4428 -Original Message- From: Chris Jensen [mailto:[EMAIL PROTECTED]] Sent: Monday, September 24, 2001 2:29 AM To: CF-Talk Subject: Carriage Returns with CFFILE Hi, I'm having some difficulty writing a simple DOS text file with CFFILE ACTION="write" I'm creating the file in a variable ie outputtext = line1 & chr(13) & line2 ...etc; But cold fusion seems to be interpreting the carriage returns and/or line feeds. I need to get a regular DOS texrt file, ie new lines are CR/LF pairs. I've tried outputting CF/LF's, CR's and LF's but when I look at the file I don't end up with CR/LF's. How do I tell cold fusion what I want? -- - Chris Jensen [EMAIL PROTECTED] Educational Experience (Australia) Postal Address: PO Box 860, Newcastle NSW 2300 Freecall: 1-800-025 270 International: +61-2-4923 8222 Fax:(02) 4942 1991 International: +61-2-4942 1991 Visit our online Toy store! http://www.toysandmore.com.au/ - FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Carriage Returns with CFFILE
This should help -- Search the Holy Bible: http://www.bibleclicks.com - Original Message - From: Chris Jensen <[EMAIL PROTECTED]> To: CF-Talk <[EMAIL PROTECTED]> Sent: Monday, September 24, 2001 1:29 AM Subject: Carriage Returns with CFFILE > Hi, > I'm having some difficulty writing a simple DOS text file with CFFILE > ACTION="write" > I'm creating the file in a variable ie > > outputtext = line1 & chr(13) & line2 ...etc; > > > But cold fusion seems to be interpreting the carriage returns and/or > line feeds. > I need to get a regular DOS texrt file, ie new lines are CR/LF pairs. > I've tried outputting CF/LF's, CR's and LF's but when I look at the file > I don't end up with CR/LF's. > How do I tell cold fusion what I want? > > -- > - > Chris Jensen [EMAIL PROTECTED] > > Educational Experience (Australia) > Postal Address: PO Box 860, Newcastle NSW 2300 > Freecall: 1-800-025 270 International: +61-2-4923 8222 > Fax:(02) 4942 1991 International: +61-2-4942 1991 > > Visit our online Toy store! http://www.toysandmore.com.au/ > - > FAQ: http://www.thenetprofits.co.uk/coldfusion/faq > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists > ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Carriage Returns with CFFILE
Hi, I'm having some difficulty writing a simple DOS text file with CFFILE ACTION="write" I'm creating the file in a variable ie outputtext = line1 & chr(13) & line2 ...etc; But cold fusion seems to be interpreting the carriage returns and/or line feeds. I need to get a regular DOS texrt file, ie new lines are CR/LF pairs. I've tried outputting CF/LF's, CR's and LF's but when I look at the file I don't end up with CR/LF's. How do I tell cold fusion what I want? -- - Chris Jensen [EMAIL PROTECTED] Educational Experience (Australia) Postal Address: PO Box 860, Newcastle NSW 2300 Freecall: 1-800-025 270 International: +61-2-4923 8222 Fax:(02) 4942 1991 International: +61-2-4942 1991 Visit our online Toy store! http://www.toysandmore.com.au/ - FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists