Xceed Zip Compression Library Documentation
SkipIfOlderDate property
Xceed Zip control reference > Xceed Zip control properties > SkipIfOlderDate property

Description

The SkipIfOlderDate property allows you to process only files that have a date and time stamp greater than (but not equal to) the date and time stamp of corresponding files already in the destination unzipping folder or, when zipping, the destination zip file.

When using the Zip method, setting SkipIfOlderDate to True will compare the date and time stamps of files about to be zipped with the date and time stamp of corresponding files already in the destination zip file. Files with an older date and time stamp than those already in the zip file will be skipped (excluded from processing).

The same idea applies when using the Unzip method: setting SkipIfOlderDate to True will compare the date and time stamps of files about to be unzipped with the date and time stamp of corresponding files already in the destination unzipping folder. Files with an older date and time stamp than those already in the destination unzipping folder will be skipped.

Files that have been excluded because of the SkipIfOlderDate property will be tagged as "excluded" when the ZipPreprocessingFile or UnzipPreprocessingFile event is triggered, and will not be processed unless you change the value of the excluded parameter to False.

Data type

Boolean

Default value

False

Declaration (DLL API)  

BOOL XzGetSkipIfOlderDate( HXCEEDZIP hZip )

void XzSetSkipIfOlderDate( HXCEEDZIP hZip, BOOL bValue )

Remarks

Folder entries are not affected by this property.

Applicable methods

Zip, Unzip

Related topics

See the SkipIfExisting, SkipIfNotExisting and SkipIfOlderVersion properties for variations on this theme.