The DeletingFile event is triggered once for each file that is deleted from the system after being zipped. This only occurs if the DeleteZippedFiles property is set to True and a verifiably correct zip file is created after a successful call to the Zip method.
By changing the modifiable bDoNotDelete parameter, your application can decide to delete this file or not. Various file specifications (time stamps, sizes and attributes) are provided in order to help make the decision if needed.
Declaration | |
---|---|
|
Declaration (DLL API) | |
---|---|
xcdDeletingFileParams* pParams = ( xcdDeletingFileParams* ) lParam ; |
Parameter | Modifiable | Description |
---|---|---|
sFilename | NO | The path and filename of the file being deleted, exactly as it is stored in the zip file. |
lSize | NO | The file's original uncompressed size, in bytes. |
lSizeLow lSizeHigh (64) |
NO | The 32 low-order and high-order bits representing the file's original uncompressed size, in bytes. |
lCompressedSize | NO | The file's compressed size, in bytes. |
lCompressedSizeLow lCompresedSizeHigh (64) |
NO | The 32 low-order and high-order bits representing the file's compressed size, in bytes. |
xAttributes | NO | The file's attributes. |
dtLastModified | NO | The last modification date and time stamp. |
dtLastAccessed | NO | The last accessed date and time stamp. |
dtCreated | NO | The creation date and time stamp.. |
bDoNotDelete | YES | Change this to True if you do not want this file to be deleted. Leave it to False (the default) if you want the file to be deleted. |