I'm generating CFZIPPARAM lines by looping on a query:
<cfzip action="zip" file="#rootpath#\admin\custom2\attach_files\#zipfilename#"
overwrite="yes">
<cfloop query="get_applications">
<cfzipparam filter="#get_applications.attach_file#"
source="#rootpath#\admin\custom2\attach_files" />
</cfloop>
</cfzip>
The resulting zip file contains only the last file listed in the cfzipparam.
The query contains more that a dozen output lines. If I hard code the
cfzipparam lines instead of running a loop I get all the files I'm supposed to.
I tested the loop and it is generating all the lines, so what is going on?
Thanks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344890
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm