I have a user submitting an image via a form. I would like to make a function in my cfc to upload the file. What do I put in the fileField attribute of CFFile?
Arguments.TitleImage or Form.TitleImage? What type do I set for the cfargument? String? Binary? <cffunction name="updateProductImages" access="public" returntype="void"> <cfargument name="CatID" type="numeric" required="yes"> <cfargument name="TitleImage" type="string" required="yes"> <cffile action="Upload" filefield="arguments.TitleImage" destination="#application.ProductPageImages#" nameconflict="makeunique"> </cffunction> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:320206 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4