You can't send back multiple returns in same method but you can just output the data which is what the flash part is looking for and it reports it back to ajax script as many times as you need, doesn't matter if it is once or 1000.
Or you can loop over the method and grab each return and send it back which is what he wants. The uploaders are fairly simple how they work but 99% of the people that use them don't understand what they are doing. Basically the flash file grabs the upload and pipes it to the temp upload folder it uses and then it calls your processing page to come get it (doesn't matter how or what language so long as you get it), then your scipt uploads it from the flash temp file to your temp file (in this case cfm's) so really the cfm isn't uploading at all it is just moving the file from 1 temp folder to another. After that you can do whatever you want the flash file doesn't care, it just waits for data to push out which is just outputted data and then it just sits there even if you are done and the script should close down the flash connection when it gets it's data it needs and is done with the flash part. " uploadify and swfupload though uploadify looks easier >to implement i" I have a port of swfupload to jquery but I believe the isse I had was sending back correct error messages. >No, your cfc method won't be able to send back multiple returns. Instead, >the flash uploader will upload the files one at a time to your CFC but your >user will have the experience of sending them all at once. You will be able >to customize progress reports as the flash object will publish javascript >events notifying progress of each upload. > >This is true of both uploadify and swfupload though uploadify looks easier >to implement if you are at all familiar with jQuery (and probably even if >you are not). > >Dominic > >2009/9/14 Rick Faircloth <[email protected]> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326299 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

