Cffile data write problem for lucee52 docker image


#1

Hi,

I’m running a copy of lucee52 docker images on a ubuntu 18.04 box.

The following code to append data to a text file did not do anything and no error.
The text file, namely, target.txt is globally rw

<cffile action="append"
        file="#expandPath('./target.txt')#"
        output="#var1#,#var2#,#var3#"
        addnewline="yes">

What was wrong?
Thanks.


#2

Are you able to read the content of the file with cffile read and cfdump it?


#3

Yes, for binaryRead for the content of document upload. Thanks.