You are using the result
attribute. So instead of cffile.serverFile
, use thisResult.serverFile
.
Result Lets you specify a name for the variable in which cffile returns the result (or status) parameters. If you do not specify a value for this attribute, cffile uses the prefix cffile. For more information, see Usage.