|
|
|
|
Describes how the archive file will be splitted or spanned.
type TZFSpanningOptions = class(TPersistent)
published
property AdvancedNaming: Boolean default True;
property FirstVolumeSize: Int64 default 0;
property VolumeSize: TZFVolumeSize default vsAutoDetect;
property CustomVolumeSize: Int64 default 0;
end;
property SpanningOptions: TFXCSpanningOptions;
Description
SpanningOptions property determines how the archive file will be splitted or spanned.
The AdvancedNaming determines how the archive volumes will be named.
If AdvancedNaming is set to True then archive volumes will be named like archive_001.zip, archive_002.zip, ... ,
archive_999.zip.
If AdvancedNaming is set to False and SpanningMode is set to smSpanning then archive volumes will be named like archive.zip on each removable disk.
If AdvancedNaming is set to False and SpanningMode is set to smSplitting then archive volumes will be named like archive.z01,
archive.z02, ... , archive.z99.
You can also specify custom name for each volume using OnRequestBlankVolume event handler.
The FirstVolumeSize specifies the size of first volume, minimum size is 64 Kb. If the FirstVolumeSize is set to 0 the size of the first volume will be the same as other volumes and will be defined by VolumeSize value.
The VolumeSize specifies the size of the volumes for archive splitting or spanning. If the VolumeSize is set to vsCustom, then CustomVolumeSize will be used.
The CustomVolumeSize specifies the custom size of the volumes for archive splitting or spanning. This parameter can be used only when VolumeSize is set to vsCustom.
|
|