Hello,
I have a problem, our application is writing a file
to an NT directory using this call,
<cffile action="write" file="C:\Netscape\SuiteSpot\docs\keyfile\Test\#Variables.NewLicenseNo#.#form.hostID#" output="#cfhttp.FileContent#">
The contents come from a Perl script on a unix server.
The problem is that the newlines are being changed to /r/n
(^M) carriage return line feed pairs. This is a problem for the people receiving this file because they need to use VI/EDT to strip out the (^M)'s out of the file before they can use it on their solaris systems.
I guess my question is, how can I have CF read and replace the "^M"'s in that file and save it? Can this be done?
If so could you please explain by example, I am still new to this and I am finding these things a bit hard right now.
Thanks.
[sig][/sig]
I have a problem, our application is writing a file
to an NT directory using this call,
<cffile action="write" file="C:\Netscape\SuiteSpot\docs\keyfile\Test\#Variables.NewLicenseNo#.#form.hostID#" output="#cfhttp.FileContent#">
The contents come from a Perl script on a unix server.
The problem is that the newlines are being changed to /r/n
(^M) carriage return line feed pairs. This is a problem for the people receiving this file because they need to use VI/EDT to strip out the (^M)'s out of the file before they can use it on their solaris systems.
I guess my question is, how can I have CF read and replace the "^M"'s in that file and save it? Can this be done?
If so could you please explain by example, I am still new to this and I am finding these things a bit hard right now.
Thanks.
[sig][/sig]