A couple people have asked about fixing up the events and with a prior release I was able to fix the on complete method. The on complete method will call a JavaScript method using the ExternalInterface library after each item in the list has been uploaded. Now that that works we needed a way to notify the client that all files were uploaded. After each file is successfully uploaded that file is removed from the files array. A quick check to see the length will let us know when we are done with all of the files
With that I decided to whip up a quick demo which is also in the download. This example will write each file name to the browser screen as its uploaded and then write out a message that all files are done.
If you want to downloaded the latest version along with all of the demos you can get it over at the CFMU Project Page on RIAForge

#1 by Ken Smith on 8/17/09 - 10:56 AM
#2 by Brendan Canty on 8/18/09 - 1:58 PM
One small question I have, the onComplete method returns the name of the file, but it is returning the name of the file that the user uploaded, not necessarily the name of the file on the server, since cffile is using "nameconflict='makeunique'".
Is there an easy way to have the onComplete method become aware of the eventual filename on the server?
#3 by Dan Vega on 8/20/09 - 6:13 PM
#4 by Newton C. on 3/28/10 - 6:36 PM
I love what you have done! This is one of a kind.
Even though CF9 has a multifile upload tag cffileupload, I still like yours.
I have a problem though. I wanted to implement maxFiles and maxFileSize on oncompleteAdv, but once I add those attributes they do not work. Have you tried it?
Please give me a solution.
Thank you in advance.
#5 by Dan Vega on 3/30/10 - 8:20 AM
#6 by Newton C. on 4/1/10 - 9:18 PM
I need a solution. Thank you.
#7 by Thomas Messier on 10/5/10 - 1:57 PM
I just checked CFMU out and thought it was pretty cool. One thing I was wondering is if there was any way to validate the file type uploaded. While the filters make it somewhat less likely that somebody would upload the wrong file type, they don't seem to be full-proof. If I type *.* in the browser window, it seems I can then select any type of file and upload it. The ideal would be to be able to restrict by MIME, either in a built-in way or by making it possible to return something from the uploader CFC that can be included in the onCompleteAll event so that we can do custom validation. Is there currently any way to do this that I'm missing, or is it not possible?
#8 by Hammergood on 12/15/10 - 8:04 AM
MSIE passes the cookies set by CF to the upload-cfc. So all SESSION Variables are available in the upload function.
However the other browsers will not send the cookie and so there is another session (other cfid/cftoken) than outside. How can I access the SESSION Variables oft the correct SESSION in the upload function of the upload-cfc?
Thanks for helping!