> I'm not certain about the added carriage return -- my gut feeling > is to say that the original file has an extra at the bottom as a > result of it being appended to with <cffile action="append"> in > other bits of code elsewhere
The original file does not have the extra line. It is getting modified in the download process. The original file is created by a VB program, not that it should matter. I can't see how <CFFile action="copy"> should modify the file in any way. > <cffile action="read" file="#fname2#" variable="temp"> > <cfcontent type="text/plain"> > <cfoutput>#trim(temp)#</cfoutput><cfabort> I'll give this some thought. These files could be quite large 20MB or more. Thanks for the suggestion. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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

