Test filesFolders and paths › deep-path-over-260.zip

Sample ZIP file (deep path over 260)

An archive whose innermost file sits at a path over 300 characters long, built from 30 nested directories.

↓ Download deep-path-over-260.zip
Filenamedeep-path-over-260.zip
FormatZIP
Size11.1 KB (11,352 bytes)
MIME typeapplication/zip
SHA-2568b3de365e61d959c7deb2000aacc3868c845d21592ef5dfbf722eeb50ff4858e
What this file catchesThe Windows path limit, which is lower for directories than for files. Without long-path support a process can create a file at a 259-character path but a directory only at 247, because MAX_PATH reserves twelve characters for an 8.3 name inside it. Extraction therefore fails while creating a folder rather than while writing a file, and leaves a half-extracted tree. Linux (4096 bytes) and macOS (1024 bytes) take this without complaint, so it only reproduces on Windows.

Download & verify

curl -fsSL -o "deep-path-over-260.zip" "https://files.hexaqa.com/folder/deep-path-over-260.zip"
curl -fsSL "https://files.hexaqa.com/folder/deep-path-over-260.zip" | sha256sum # expect: 8b3de365e61d959c7deb2000aacc3868c845d21592ef5dfbf722eeb50ff4858e

More folders and paths test files

case-collision-dirs.zipempty-directory.zipexplicit-dir-entries.zipreserved-and-awkward-dirs.zipseparator-confusion.zipunicode-dir-names.zip

← All Folders and paths files