I have always sent into my function only the field name, since that's what 
CFFILE needs.  You're right that the tag will look only to the Form scope, so 
work with it as is:

uploadSuccess = upload("all");

<cffunction name="upload" ...>
<cfargument name="fileName" type="string" ...>

<cffile action="upload" fileField="#arguments.fileName#" ...>

I don't think there's a way around that.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314821
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to