PowerTCP Zip Compression for .NET
IsRemovableMedia Property




Gets or sets whether the target media is removable.
Syntax
<CategoryAttribute("SpanConfiguration")>
<DescriptionAttribute("a flag indicating whether a removable media is used for spanning/splitting")>
<DefaultValueAttribute()>
Public Property IsRemovableMedia As Boolean
Dim instance As SpanConfiguration
Dim value As Boolean
 
instance.IsRemovableMedia = value
 
value = instance.IsRemovableMedia
[Category("SpanConfiguration")]
[Description("a flag indicating whether a removable media is used for spanning/splitting")]
[DefaultValue()]
public bool IsRemovableMedia {get; set;}
[Category("SpanConfiguration")]
[Description("a flag indicating whether a removable media is used for spanning/splitting")]
[DefaultValue()]
public: __property bool get_IsRemovableMedia();
public: __property void set_IsRemovableMedia( 
   bool value
);
[Category("SpanConfiguration")]
[Description("a flag indicating whether a removable media is used for spanning/splitting")]
[DefaultValue()]
public:
property bool IsRemovableMedia {
   bool get();
   void set (    bool value);
}

Property Value

Boolean specifying whether the target media is removable. Default is false.
Remarks

Its default value is false, which implies that the multi-part zip archive will be split and stored on the hard drive. When IsRemovableMedia is true, the archive is split into parts on removable media.

Spanned vs Split Archives

Files comprising spanned and split archives have identical content, however their names and locations differ.

Each part of a spanned archive has the same name, therefore, each part must reside on a separate disk.

Each part of a split archive has a different file extension ("archive.z01", "archive.z02", etc.); only the last part has the "zip" extension ("archive.zip"). Therefore all parts of a split zip archive can reside at the same location.

Converting Spanned Archives to Split Archives

Because the actual content of the corresponding parts does not differ, spanned archives can be converted to split archives, and vice versa.

To change from spanned to split, rename each file in order with the appropriate extension.

To change from split to spanned, rename each file extension to ".zip", and move the files to separate disks. Rename the volume name for each disk to "PKBACK xxx" where xxx is the disk number starting with 001.

See Also

Reference

SpanConfiguration Class
SpanConfiguration Members


PowerTCP Zip for .NET Documentation Version 2.1.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic