file_action Property
The action to apply to the file.
Syntax
def get_file_action(file_index: int) -> int: ... def set_file_action(file_index: int, value: int) -> None: ...
Default Value
0
Remarks
The action to apply to the file.
Use this property to control the action that should be applied to the file during the compression or extraction. The following actions are supported:
atAdd (0) | Add the file to the archive |
atKeep (1) | Keep the existing file in the archive |
atUpdate (2) | Update the archived file with a fresher copy |
atDelete (3) | Delete the file from the archive |
atExtract (4) | Extract the file (extraction only) |
atSkip (5) | Skip file extraction (extraction only) |
The file_index parameter specifies the index of the item in the array. The size of the array is controlled by the file_count property.