<< Click to Display Table of Contents >> CreateFromDirectory |
Creates a zip archive that contains the files and directories from the specified directory, uses the specified compression level, and optionally includes the base directory.
sourceDirectoryName - The path to the directory to be archived, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.
destinationArchiveFileName - The path of the archive to be created, specified as a relative or absolute path. A relative path is interpreted as relative to the current working directory.
compressionLevel - One of the enumeration values that indicates whether to emphasize speed or compression effectiveness when creating the entry.
includeBaseDirectory - true to include the directory name from sourceDirectoryName at the root of the archive; false to include only the contents of the directory.
CreateFromDirectory PROCEDURE(STRING sourceDirectoryName, STRING destinationArchiveFileName, CompressionLevelEnum compressionLevel = CompressionLevel::Optimal, BOOL includeBaseDirectory = FALSE), BOOL, PROC