Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
ZIP (file format)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== End of central directory record (EOCD) ==== After all the central directory entries comes the end of central directory (EOCD) record, which marks the end of the ZIP file: {|class="wikitable" |+ End of central directory record (EOCD) |- ! Offset !! Bytes !! Description<ref name="appnote"/> |- | 0 || 4 || End of central directory signature. '''Must be <code>50 4B 05 06</code>'''. |- | 4 || 2 || Number of this disk (or 0xffff for ZIP64) |- | 6 || 2 || Disk where central directory starts (or 0xffff for ZIP64) |- | 8 || 2 || Number of central directory records on this disk (or 0xffff for ZIP64) |- | 10 || 2 || Total number of central directory records (or 0xffff for ZIP64) |- | 12 || 4 || Size of central directory (bytes) (or 0xffffffff for ZIP64) |- | 16 || 4 || Offset of start of central directory, relative to start of archive (or 0xffffffff for ZIP64) |- | 20 || 2 || Comment length (''n'') |- | 22 || ''n'' || Comment |} This ordering allows a ZIP file to be created in one pass, but the central directory is also placed at the end of the file in order to facilitate easy removal of files from multiple-part ''(e.g. "multiple floppy-disk")'' archives, as previously discussed.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)