Hello, I would like to zip a few files with cfexecute and then redirect to this zip file (see code below). The ColdFusion server has two wait a few seconds before the <cflocation> is executed, because it takes some time to zip the files. How can I accomplish that?
Thank you, Machteld <cflock timeout="15" throwontimeout="Yes" name="zipper" type="EXCLUSIVE"> <cfexecute name = "D:\Progra~1\WinZip\wzzip.exe" arguments = "E:\ArcIMS\Output\#ID#.zip #LocationDir#\#ID#.*" > </cfexecute> </cflock> <cflocation url="http://#Session.ServerName#/Output/#ID#.zip"> ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists