In the following code, the source file ends with a CR/LF sequence. There are
no blank lines. The resulting file which the user downloads (right clicks on
the link that calls this code and picks save) has an extra CR/LF creating a
blank line. It puzzles me that the file would get modified in this process.

The file is copied from the file server to the local c:\drive on the
webserver and then downloaded to the user.

Here's the code:

<CFFile action="COPY" source="#fname2#" destination="c:\temp\#fname#">
<CFContent type="text/plain" file="c:\temp\#fname#" deletefile="Yes">

Any help would be appreciated.

------------------------------------
Christopher P. Maher, FCAS, MAAA
Modotech, Inc.
[EMAIL PROTECTED]
http://www.modotech.com


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

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

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

Reply via email to