> OK File Gurus here is a question for you.

> I am using CFFILE to create a TEXT file which is being
> used to upload data to a mainframe.

> However in CFFILE ACTION=WRITE or ACTION=APPEND

> Once the file is created there is no definative carriage return
> at the end of the line. Thus having to open the file in WordPad
> and do a SAVE AS MS-DOS Text Format before it is a TRUE
> Text file.

> Anyone seen this and/or know a fix?

Is that really a requirement of the .txt format? ... hmmm...

.. so you're writing the file on linux eh? ... I'd guess you'd want to
insert your carriage returns manually if you want them to be dos-format
carriage returns...

<cffile addnewline="no" ...>

Then anywhere you need a new line add #CHR(13)##chr(10)# ...


hth


Isaac Dealey
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to