I have a generic CFC to handle file uploads if you are interested. It comes with a working example.
http://www.myinternetisbroken.com/files/FileUpload.cfc.zip G On Tue, Nov 4, 2008 at 2:31 PM, Won Lee <[EMAIL PROTECTED]> wrote: > *Tried a search via HoF and it didn't return anything useful. > > > > I have a form page with an <input type="file" name="all"> > > > > On the action page, I would like to call a function that will upload the > file. Unfortunately <cffile> assumes fileField is always a form field. > > So my function breaks with the error message: > > > > 14:10:10.010 - Application Exception - in > /data/workspace/wlee/EMCSRADIO/Agency/createString.cfc : line 85 > > The form field arguments.MP3File did not contain a file. > > > > > > Anyone know a way around this? I also tried to create a structure named > "form" with key all and set myStruct["all"] = form.all and that doesn't > work either. > > > > W > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:314823 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

