Skip to content

PKZip.ZipWriter.AppendEntry

Andrew Lambert edited this page Oct 28, 2018 · 7 revisions

PKZip.ZipWriter.AppendEntry

Method Signatures

 Function AppendEntry(Entry As FolderItem, Optional RelativeRoot As FolderItem) As String
 Sub AppendEntry(Path As String, Data As Readable, Length As UInt32, ModifyDate As Date = Nil)

Parameters

AppendEntry(FolderItem, FolderItem)

Name Type Comment
Entry FolderItem A file or directory to append to the archive.
RelativeRoot FolderItem Optional. The root directory of the archive.

AppendEntry(String, Readable, UInt32, Date)

Name Type Comment
Path String The archive path of the entry.
Data Readable The stream to read file data from.
Length UInt32 The number of bytes to read from Data.
ModifyDate Date Optional. The modification date of the entry.

Return value

Returns the path of the directory within the archive.

Remarks

Appends a file or directory to the archive.

Entry-level points of interest denoted by "☜"



Clone this wiki locally