I want to upload a file using code inside the cfscript tag. I
can only find ways to use it with the CMFL tags. I want to use the
script method due to other that depends on it in the cfscript tag.
How can I do this? Thanks.
rpeters1983 wrote:
> I want to upload a file using code inside the cfscript
tag.
You could write a wrapper function that contains the cffile
tag. Then call your custom function from inside your cfscript. The
CFML library at cflib.org uses that concept. An example is the Dump
function. It mimics the <cfdump> tag.
http://cflib.org/udf/Dump