##
AdvZIP Component (Zip Method)

Back
AddFile |  | Optional. It is the file to be zipped. If it is not specified then the component will create an empty zip file. You can specify as many files as you require to be zipped.
AddFolder |  | Optional. It is the folder to be zipped. If it is not specified then the component will create an empty zip file. You can specify as many folders as you require to be zipped.
ZipFile |  | Required. This is name of zip file to be created with complete physical path.
Password |  | Optional. This is password to handle password protected archives. If not specified then no encryption or decryption takes place.
CreateNew |  | Optional. This is flag with possible values TRUE and FALSE. This flag value only effects when file with name specified in ZipFile parameter already exists on disk. If file with name specified in ZipFile parameter already exists and this parameter value is set to TRUE then AdvZIP will delete existing file and will create new file for you and if this flag is set to FALSE then AdvZIP will add new files specified in AddFile parameter to existing ZipFile. Default value is TRUE.
UsePath |  | Optional. This is flag with possible values TRUE and FALSE. This flag value is used to inform component whether to add a file to zip using its complete path or using only its file name. If a file C:\Windows\Calc.exe is going to be zipped then if this parameter is TRUE then component will add this file to target zip file with path windows\, and if this value is FALSE then the file will be added using its name only. This paramater can be used to avoid similar files exists in different paths, then use this parameter value as TRUE which is also a default value.
SubFolders |  | Optional. This is flag with possible values TRUE and FALSE. This flag value is used to inform component whether to add subfolders to zip. If a folder C:\Temp is going to be zipped then if this parameter is TRUE then component will add all existing folders under given folder along with all files, and if this value is FALSE then only files under given folder will be zipped. Default value is TRUE.