Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us

OverwriteMode type

FlexCompress

Top 

Describes how extracted files will overwrite existing files.

 

[C#]

 

[VB.NET]

 

 

Description

 

OverwriteMode value specifies whether extracted files will overwrite existing files. If you need to overwrite files always set Options.OverwriteMode to Always, if you do not need to overwrite any files set it to Never. If you want to overwrite files with the newer versions set Options.OverwriteMode to IfNewer, if you wish to overwrite only files with the older versions set it to IfOlder. If you need to ask user about overwriting files or perform some custom overwriting handling set Options.OverwriteMode to Prompt and OnConfirmOverwrite event will be triggered each time before overwriting existing file.

 

Options.OverwriteMode can be set to any of the following values:

Value                    

Meaning                                                                                  

Always

All existing files will be replaced with extracted files

IfNewer

Older versions of files will be replaced with extracted newer files.

IfOlder

Newer versions of files will be replaced with extracted older files.

Never

Files will not be replaced

Prompt

OnConfirmOverwrite event will be triggered each time before overwriting existing file

        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Nov 22, 2024