I have this app that needs to download a customized zip file to the user. I need to add one file that is specific to their session..
SO, I copy the master to a session sensitive name (expecting multiple concurrent users of this function) (list for debugging) cfzip action=zip, overwrite=no add the data (zipparam content=) (this example right out of the CF8 reference guide for CFZIP) and voila, only the new file is left in the zip.. oops.. the ref man says action="zip" and overwrite="no" are not required as they are the defaults.. but doesn't matter .. so, what did I miss? (the download portion works perfectly).. Sam <cffile action="copy" source="#masterzip#" destination="#destname#"> <cfzip file="#destname#" action="list" name="listvar" ></cfzip> <cfdump var="#listvar#"> <cfzip file="#destname#" action="zip" source="#application.download_directory#" overwrite="no"> <cfzipparam content="#markup#" entrypath="foo.dat" > </cfzip> <cfzip file="#destname#" action="list" name="listvar" ></cfzip> <cfdump var="#listvar#"> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:317106 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4