Platforms to show: All Mac Windows Linux Cross-Platform
Archive
Functions to read/write archives like zip or tar.
- Classes
- class ArchiveEntryMBS
- method Clear
- method ClearACL
- method ClearXAttr
- method Clone as ArchiveEntryMBS
- method Constructor
- method Constructor(Archive as ArchiverMBS)
- method Destructor
- method GetFFlags(byref FlagsSet as UInt64, byref FlagsClear as UInt64)
- method SetFFlags(FlagsSet as UInt64, FlagsClear as UInt64)
- method SetLink(link as string)
- method UnsetATime
- method UnsetBTime
- method UnsetCTime
- method UnsetGName
- method UnsetHardLink
- method UnsetMTime
- method UnsetPathName
- method UnsetSize
- method UnsetSymLink
- method UnsetUName
- property ADateTime as DateTime
- property ATime as Date
- property ATimeSet as Boolean
- property BDateTime as DateTime
- property BTime as Date
- property BTimeSet as Boolean
- property CDateTime as DateTime
- property CTime as Date
- property CTimeSet as Boolean
- property Dev as Integer
- property DevMajor as Integer
- property DevMinor as Integer
- property DevSet as Boolean
- property FFlags as String
- property FileName as String
- property FileType as Integer
- property GID as Int64
- property GName as String
- property Handle as Integer
- property HardLink as String
- property INo as Int64
- property INo64 as Int64
- property INoSet as Boolean
- property IsDataEncrypted as Boolean
- property IsMetaDataEncrypted as Boolean
- property MacMetadata as MemoryBlock
- property MDateTime as DateTime
- property Mode as Integer
- property ModeString as String
- property MTime as Date
- property MTimeSet as Boolean
- property NLink as Integer
- property PathName as String
- property Permissions as Integer
- property RDev as Integer
- property RDevMajor as Integer
- property RDevMinor as Integer
- property Size as UInt64
- property SizeSet as Boolean
- property SourcePath as String
- property Stat as MemoryBlock
- property SymLink as String
- property SymlinkType as Integer
- property UID as UInt64
- property UName as String
- property XAttrCount as Integer
- class ArchiveReadDiskMBS
- method CanDescend as Boolean
- method Constructor
- method CurrentFileSystem as Integer
- method CurrentFileSystemIsRemote as Integer
- method CurrentFileSystemIsSynthetic as Integer
- method Descend
- method Destructor
- method GroupName(ID as Int64) as String
- method Open(Folder as FolderItem) as Boolean
- method Open(Path as String) as Boolean
- method SetAccessTimeRestored
- method SetStandardLookup
- method SetSymlinkHybrid
- method SetSymlinkLogical
- method SetSymlinkPhysical
- method UserName(ID as Int64) as String
- property BehaviorFlags as Integer
- event GroupLookup(ID as Int64) as String
- event UserLookup(ID as Int64) as String
- class ArchiveReaderMBS
- method AddPassphrase(passphrase as string)
- method AppendFilter(Filter as Integer)
- method AppendFilterProgram(Program as String)
- method Close
- method Constructor
- method Destructor
- method Extract(Entry as ArchiveEntryMBS, DestArchive as ArchiverMBS)
- method Extract(Entry as ArchiveEntryMBS, flags as Integer = &h123F7)
- method NextHeader(entry as ArchiveEntryMBS = nil) as ArchiveEntryMBS
- method OpenData(Data as String) as Boolean
- method OpenFile(File as FolderItem, BlockSize as Integer = 10240) as Boolean
- method OpenFile(Files() as FolderItem, BlockSize as Integer = 10240) as Boolean
- method OpenPath(Path as String, BlockSize as Integer = 10240) as Boolean
- method OpenPath(Paths() as String, BlockSize as Integer = 10240) as Boolean
- method ReadDataBlockMemory(byref offset as Int64) as MemoryBlock
- method ReadDataBlockString(byref offset as Int64) as String
- method ReadDataMemory(ByteCount as Integer) as MemoryBlock
- method ReadDataString(ByteCount as Integer) as String
- method Seek(Position as Int64, Mode as Integer = 0) as Int64
- method SetExtractSkipFile(DeviceID as Int64, FileNo as Int64)
- method SetFilterOption(Module as String, Option as String, Value as String)
- method SetFormat(Format as Integer)
- method SetFormatOption(Module as String, Option as String, Value as String)
- method SetOption(Module as String, Option as String, Value as String)
- method SetOptions(Options as String)
- method Skip
- method SupportFilterAll
- method SupportFilterBZip2
- method SupportFilterCompress
- method SupportFilterGRZip
- method SupportFilterGZip
- method SupportFilterLRZip
- method SupportFilterLZip
- method SupportFilterLzma
- method SupportFilterLzop
- method SupportFilterNone
- method SupportFilterProgram(command as string)
- method SupportFilterRpm
- method SupportFilterUU
- method SupportFilterXz
- method SupportFormat7zip
- method SupportFormatAll
- method SupportFormatAr
- method SupportFormatByCode(FilterCode as Integer)
- method SupportFormatCab
- method SupportFormatCpio
- method SupportFormatEmpty
- method SupportFormatGnutar
- method SupportFormatIso9660
- method SupportFormatLha
- method SupportFormatLZ4
- method SupportFormatMTree
- method SupportFormatRar
- method SupportFormatRar5
- method SupportFormatRaw
- method SupportFormatTar
- method SupportFormatWArc
- method SupportFormatXar
- method SupportFormatZip
- method SupportFormatZipSeekable
- method SupportFormatZipStreamable
- property FormatCapabilities as Integer
- property HasEncryptedEntries as Integer
- property HeaderPosition as Int64
- property ReadDataBlockSupported as Boolean
- event ExtractProgress(entry as ArchiveEntryMBS)
- class ArchiverMBS
- method ClearError
- method Constructor
- method CopyError(source as ArchiverMBS)
- method Destructor
- method FilterBytes(FilterIndex as Integer) as Int64
- method FilterCode(FilterIndex as Integer) as Integer
- method FilterName(FilterIndex as Integer) as String
- shared method LoadIconvLibrary(path as String, byref Error as String) as boolean
- shared method NewReader as ArchiveReaderMBS
- shared method NewWriter as ArchiveWriterMBS
- shared method SetCurrentWorkingDirectory(path as folderitem) as boolean
- shared method SetCurrentWorkingDirectory(path as String) as boolean
- shared property BZLibVersion as String
- property Compression as Integer
- property CompressionName as String
- property ErrNo as Integer
- property ErrorString as String
- property FileCount as Integer
- property FilterCount as Integer
- property Format as Integer
- property FormatName as String
- property Handle as Integer
- property Lasterror as Integer
- shared property LibVersion as Integer
- shared property LibVersionDetails as String
- shared property LibVersionString as String
- shared property LZ4Version as String
- shared property LzmaVersion as String
- property Open as Boolean
- property PositionCompressed as Int64
- property PositionUncompressed as Int64
- property Yield as Boolean
- shared property ZLibVersion as String
- shared property ZStdVersion as String
- event Passphrase(byref password as String) as Boolean
- class ArchiveWriteDiskMBS
- method Constructor
- method Destructor
- method GID(GroupName as string, DefaultGID as Int64) as Int64
- method SetSkipFile(DeviceID as Int64, FileNo as Int64)
- method SetStandardLookup
- method UID(UserName as string, DefaultUID as Int64) as Int64
- method WriteDataBlock(data as MemoryBlock, offset as Int64) as Int64
- method WriteDataBlock(data as Ptr, Size as Int64, offset as Int64) as Int64
- method WriteDataBlock(data as string, offset as Int64) as Int64
- property Options as Integer
- event GroupLookup(Name as String, GID as Int64) as Int64
- event UserLookup(Name as String, GID as Int64) as Int64
- class ArchiveWriterMBS
- method AddFilter(FilterCode as Integer)
- method AddFilterB64encode
- method AddFilterByName(Name as String)
- method AddFilterBZip2
- method AddFilterCompress
- method AddFilterGRZip
- method AddFilterGZip
- method AddFilterLRZip
- method AddFilterLZ4
- method AddFilterLZip
- method AddFilterLZMA
- method AddFilterLZOp
- method AddFilterNone
- method AddFilterProgram(Command as String)
- method AddFilterUUEncode
- method AddFilterXZ
- method Close
- method Constructor
- method CreateFile(File as FolderItem) as boolean
- method CreateMemoryFile as boolean
- method Destructor
- method Fail
- method FinishEntry
- method SetFilterOption(Module as String, Option as String, Value as String)
- method SetFormat(FormatCode as Integer)
- method SetFormat7Zip
- method SetFormatArBsd
- method SetFormatArSvr4
- method SetFormatByExtension(FileName as String, defaultExtension as String = "")
- method SetFormatByName(Name as String)
- method SetFormatCpio
- method SetFormatCpioNewc
- method SetFormatGnutar
- method SetFormatIso9660
- method SetFormatMTree
- method SetFormatMTreeClassic
- method SetFormatOption(Module as String, Option as String, Value as String)
- method SetFormatPax
- method SetFormatPaxRestricted
- method SetFormatRaw
- method SetFormatShar
- method SetFormatSharDump
- method SetFormatUstar
- method SetFormatV7tar
- method SetFormatWArc
- method SetFormatXar
- method SetFormatZip
- method SetOption(Module as String, Option as String, Value as String)
- method SetOptions(Options as String)
- method SetPassphrase(Password as String)
- method SetSkipFile(DeviceID as Int64, FileNo as Int64)
- method WriteData(data as MemoryBlock) as Int64
- method WriteData(data as Ptr, Size as Int64) as Int64
- method WriteData(data as string) as Int64
- method WriteData(SourceArchive as ArchiveReaderMBS) as Int64
- method WriteHeader(Entry as ArchiveEntryMBS)
- method ZipSetCompressionDeflate
- method ZipSetCompressionStore
- property MemoryData as MemoryBlock
- property MemoryPointer as Ptr
- property MemorySize as Int64
- property MemoryString as String
- property WriteDataBlockSupported as Boolean
- class ArchiveEntryMBS
- Blog Entries
- Videos
Release notes
- Version 21.2
- Fixed ArchiveWriterMBS class to do AES256 encryption on Windows.
- Version 20.5
- Added ADateTime, BDateTime, CDateTime and MDateTime properties to ArchiveEntryMBS class.
- Version 20.4
- Added LoadIconvLibrary method for ArchiverMBS, XMLValidatorMBS, zxingReaderMBS, GMImageMBS and TextConverterMBS classes for helping with text encodings if needed.
- Version 20.3
- Fixed issue with ArchiveReadDiskMBS class on Windows in case path ends with backslash.
- Version 19.2
- Fixed endless loop in ArchiveEntryMBS.fileName getter in some cases.
- Version 19.0
- Added ArchiveReadDiskMBS and ArchiveWriteDiskMBS classes to adding files to archives.
- Added more methods to ArchiveWriterMBS, ArchiveReaderMBS and ArchiverMBS classes.
The items on this page are in the following plugins: MBS Compression Plugin.