If you are using CF 4.0.1 or higher there is an option in CFFILE to suppress
the addition of a new line during a write action.  ADDLINE="yes", or
ADDLINE="no" as required.  The default is yes, which means if you write out
a line, with a CRLF in it, CF will happily add another CRLF right behind it,
which is what you are seeing.

DC

----- Original Message -----
From: Shawn Regan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 10, 2000 18:27
Subject: write files with CF and white space.


> This message is in MIME format. Since your mail reader does not
> understand
> this format, some or all of this message may not be legible.
>
> ------_=_NextPart_001_01BFA31A.64012660
> Content-Type: text/plain;
> charset="iso-8859-1"
>
>
> Hey guys,
>
> I know this has been talked about many times, but I keep getting added
> white
> space every time I write to a file with cold fusion. I'm use the
> cfsetting
> tag to wrap the output but I keep getting white space/double space added
> to
> the file. What am I doing wrong?
>
> Shawn Regan
>
> ------_=_NextPart_001_01BFA31A.64012660
> Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <HTML>
> <HEAD>
> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
> charset=3Diso-8859-1">
> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
> 5.5.2650.12">
> <TITLE>write files with CF and white space.</TITLE>
> </HEAD>
> <BODY>
> <BR>
>
> <P><FONT SIZE=3D2>Hey guys,</FONT>
> </P>
>
> <P><FONT SIZE=3D2>I know this has been talked about many times, but I =
> keep getting added white space every time I write to a file with cold =
> fusion. I'm use the cfsetting tag to wrap the output but I keep getting
> =
> white space/double space added to the file. What am I doing =
> wrong?</FONT></P>
>
> <P><FONT SIZE=3D2>Shawn Regan</FONT>
> </P>
>
> </BODY>
> </HTML>
> ------_=_NextPart_001_01BFA31A.64012660--
> ------------------------------------------------------------------------
> ------
> 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.
>

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

Reply via email to