<!--- Create a zip archive that contains a single file. We are going to overwrite any previously existing archive of the same name. ---> <cfzip action="zip" file="#ExpandPath( './data.zip' )#" source="#ExpandPath( './data/documents/' )#" overwrite="true"> <!--- Add a single file. The file will be stored in the archive as the root directory with the same file name it already has (readme.txt). Since the source attribute was defined in the CFZip tag, the source attribute of the CFZipParam tag is relative the previous source value. ---> <cfzipparam source="readme.txt" /> </cfzip>