Advanced Customizations, Overrides, and Extensions » ePublisher Platform XSLT Extensions » ZipExtension » void ZipDirectoryWithoutCompression (string zipFilePath, string directoryPath)
void ZipDirectoryWithoutCompression (string zipFilePath, string directoryPath)
 
Zip a directory and recursively include sub-directories without compressing any files.
Parameters:
zipFilePath
Full pathname of the zip file.
directoryPath
Full pathname of the directory file.
Creates zip archive C:.zip with the directory and and subdirectories of C:\ projects.
<xsl:variable name="VarZipDirectory" select="wwzip:ZipDirectoryWithoutCompression('C:\some\archive.zip', 'C:\projects\myproject'" />
Was this helpful?
Last modified date: 10/14/2020