Dart.PowerTCP.Zip Namespace : ErrorCode Enumeration |
<CategoryAttribute("Enumeration")> <DescriptionAttribute("Enumerate the fatal error codes that Dart Zip component currently defined. ")> Public Enum ErrorCode Inherits System.Enum
Dim instance As ErrorCode
[Category("Enumeration")] [Description("Enumerate the fatal error codes that Dart Zip component currently defined. ")] public enum ErrorCode : System.Enum
[Category("Enumeration")] [Description("Enumerate the fatal error codes that Dart Zip component currently defined. ")] __value public enum ErrorCode : public System.Enum
[Category("Enumeration")] [Description("Enumerate the fatal error codes that Dart Zip component currently defined. ")] public enum class ErrorCode : public System.Enum
Member | Description |
---|---|
Abort | The Archive component has aborted the current operation. This is a result of the Archive.Abort method called in the code. |
AccessRemovableMediaFailed | Failed to access available space information on the removable media. |
AddRemoveOpNotAllowed | Spanning error: addition or deletion operations are not allowed on spanned or split archives. |
AESAuthenticationCodeMismatch | AES encryption or decryption error: the authentication failed. |
AESEncryptionDllNotCreated | Dart.PowerTCP.Aes.dll could not be created in the application directory. Write permissions must be enabled to create this dll. |
ArchiveItemInvalidCast | ArchiveItem instance expected for this operation. |
BuildCodeTreeError | Deflate decompression error: an error occurred while building the code tree. |
CDEndRecordNotFound | The central directory end record cannot be found. Either it is not a standard zip format, or if you are trying to open a spanned zip archive on removable media. Please insert the last volume. |
CDSignatureNotFound | The central directory signature was not found. This zip archive has been corrupted. |
CollectionEmpty | The collection is empty. |
CompressionMethodNotApplied | The specified compression method was not applied because the item is already compressed. |
CompressionMethodNotSupported | The compression method is not supported. |
CRCMismatch | Deflate decompression error: the CRC check failed. |
DestinationEmpty | The destination parameter is empty. |
DestinationNotWritable | The destination of a Zip operation must be writable. |
DestStreamNotAllowedForZipWSpan | Spanning error: when spanning or splitting, the destination is not allowed to be a stream. |
DirectoryNotAccessible | The directory is not accessible so the files under the directory are not added to the collection. |
DistanceCodeCountOutOfRange | Deflate decompression error: the distance code count is out of range. |
DistanceCodeOutOfRange | Deflate decompression error: the distance code is out of range. |
DistanceError | Deflate decompression error: an error was found in distance codes. |
DistanceExceedMaximum | Deflate decompression error: the distance exceeds the maximum. |
DriveNotRemovable | Spanning error: The drive is not removable. |
EncryptionNotChanged | The encryption could not be changed to Encryption.None since the item is encrypted. The item must first be unzipped and then re-zipped with no encryption. |
EncryptionNotSpecified | You have set up a password. You need to set up the encryption method as well. |
EncryptionSkipped | The specified encryption was not applied to the item because the item is encrypted already. Unzip it first and then re-zip it if you really would like to change the encryption method or use a different password. |
ExcludeDirectoryNotAccessible | The directory is not accessible so the files under the directory are not added to the collection. |
FileCreationFailed | File creation failed. |
FileExists | The destination file exists. Use Overwrite property if you would like to overwrite it. |
FileNotFound | The specified file was not found. |
FileNotFoundForSelfExtraction | The file 'DartAttach.bin' is needed for self extraction. It needs to be in the System32 directory. |
FileOpen | The file is open. |
FileOpenError | File open failed. |
FileWOpenError | File could not be opened for writing. |
GzipFormatCompressionNotSupported | This release does not support gZip compression. Therefore, Add, Insert, Remove or Zip operations are not allowed to apply to a gZip archive. |
HuffmanTreeHeightError | Deflate error: Huffman tree height exceeds the maximum. |
ImproperOperation | Improper operation, refer to the Help Documentation for more information. |
ImproperSpanSize | The specified PartSize for spanning is invalid. |
ImproperZipFile | The specified zip archive is invalid. |
InputBitLengthError | Deflate decompression error: an error was found with input bit lengths when building the code tree |
InternalError | An internal error has occurred. Call Dart customer service for support. |
InvalidDirectory | The specified directory is invalid. |
InvalidEncryptionParameter | Invalid parameters for encryption or decryption. |
InvalidFileName | The specified name contains invalid characters or is too long. |
InvalidLengthCode | Deflate decompression error: an invalid length code was found. |
InvalidMedia | The specified media is invalid. |
InvalidPassword | The given password is invalid. |
InvalidWzAESEncryptionFormat | The zip archive is marked with a WinZip AES encryption format but it contains some invalid data. |
ItemIndexOutOfRange | The item index is out of range. |
ItemNameEmpty | Either the specified name is empty or it contains invalid characters. |
LendthCodeError | Deflate decompression error: the number of a length code i should be less than of equal to pow(2, i). |
LengthCode16Error | Deflate decompression error: error in length code 16. |
LengthCodeCountOutOfRange | Deflate decompression error: the length code count is out of range. |
LengthExceedMaximum | Deflate decompression error: the length exceeds the maximum. |
LiteralCodeCountOutOfRange | Deflate decompression error: the literal code count is out of range. |
LiteralLengthCodeOutOfRange | Deflate decompression error: the literal/length code is out of range. |
LocalHeaderSignatureNotFound | The local header signature was not found. This zip archive might have been corrupted. |
NoCompressionError | Deflate decompression error: a data block is marked as no compression but it is not. |
NotEnoughSpaceForCDEndRecord | The removable media does not have enough space for storing the Central Directory End Record. You might have something on the volume. |
NotEnoughSpaceForSpan | The removable media does not have enough available space according to the Span Configuration. |
NotImplemented | The selection is not implemented in the current version. |
NotSupported | The selected feature is not supported by the current version. |
OK | No error. |
PasswordEmpty | The specified encryption was not applied to the item because the password is empty. |
PasswordRequired | A password is required for unzipping this archive/item because it is encrypted. |
PropertyValueOutOfRange | Property value out of range. refer to the Help documentation for more information. |
ReadError | A read error has occurred. |
RemovableMediaHasIncorrectLabel | The removable media has a label different from expected. Set the DiskEventArgs.IgnoreLabel to true if you want to use the removable media anyway. |
RemovableMediaNotReady | The removable media is not ready. |
SizeMismatch | Deflate decompression error: the decompressed data size does not match the uncompressed data size. |
SourceArchiveNotReadable | The source archive is not readable. If you pass a memory stream archive, closing the stream may cause this problem. |
SourceEmpty | Either no source is specified or the specified source is empty. For an Unzip operation, a source zip archive has to be opened first. |
SpanArchiveLimitation | Spanned archive limitation: Add, Remove, or Zip operations can not be applied to a spanned archive. |
SpanError | An error occurred during the span operation. |
StreamCopyFailed | Stream copy failed, either the source can't be read or the destination can't be written to. |
TempFileCreationError | The temporary file creation failed. |
TempFileNameError | (DEBUG error code)Some difficulty in making up the temp file name. |
TempFileOperationFailure | Operations on the temp file failed. Either the temp file has been destroyed or moved. |
UnknownAlgorithm | The encryption algorithm is not supported by Dart Archive component. |
UnknownBlockType | Deflate decompression error: an invalid data block type was found. |
UnsupportedFormat | The source archive is in the format that the current version does not support. |
UnzipError | An error has occurred during the unzip operation. |
WriteBitsTooLong | Deflate error: write bit length exceeds the maximum. |
WriteError | A write error has occurred. |
' Be sure to import the namespace by putting "Imports Dart.PowerTCP.Zip" ' at the top of your class. ' Preserve the path structure of the files Archive1.PreservePath = True ' Include any subdirectories Archive1.IncludeSubs = True ' Specify compression level Archive1.CompressionLevel = CompressionLevel.Medium ' Use the Deflate compression method Archive1.DefaultCompressionMethod = CompressionMethod.Deflate ' Exclude any text files Archive1.ExcludePattern = "*.txt" ' Set to use encryption Archive1.DefaultEncryption = Encryption.Standard ' Specify the password Archive1.Password = "testme" ' Perform the compression operation - this is the only required method for the operation Archive1.QuickZip("c:\\Test\\*.*", "c:\\test.zip")
// Be sure to import the namespace by putting "using Dart.PowerTCP.Zip;" // at the top of your class. // Preserve the path structure of the files archive1.PreservePath = true; // Include any subdirectories archive1.IncludeSubs = true; // Specify compression level archive1.CompressionLevel = CompressionLevel.Medium; // Use the Deflate compression method archive1.DefaultCompressionMethod = CompressionMethod.Deflate; // Exclude any text files archive1.ExcludePattern = "*.txt"; // Set to use encryption archive1.DefaultEncryption = Encryption.Standard; // Specify the password archive1.Password = "testme"; // Perform the compression operation - this is the only required method for the operation archive1.QuickZip("c:\\Test\\*.*", "c:\\test.zip");
System.Object
System.ValueType
System.Enum
Dart.PowerTCP.Zip.ErrorCode