Skip to content

Error Domain=SSZipArchiveErrorDomain Code=-2 "failed to open first file in SPLIT/MULTI-PART zip file" #519

Open
@zhangkiwi

Description

@zhangkiwi

First use WinRAR to subcontract a file larger than 4GB, divide it into 20 sub-files, and then use SSZipArchive to decompress it. It will prompt: Error Domain=SSZipArchiveErrorDomain Code=-2 "failed to open first file in zip file"

Activity

Coeur

Coeur commented on May 29, 2019

@Coeur
Member
  • We don't support rar files.
  • We don't support split zip or multi-part zip archives.

Do split/multi-part zip files work with:

  • native uncompress tool on macOS?
  • The Unarchiver on macOS?
  • Keka on macOS?

[edit]
OK, apparently, Keka has such a feature to split a zip file. I'll try it.

changed the title [-] Error Domain=SSZipArchiveErrorDomain Code=-2 "failed to open first file in zip file"[/-] [+] Error Domain=SSZipArchiveErrorDomain Code=-2 "failed to open first file in SPLIT/MULTI-PART zip file"[/+] on May 29, 2019
zhangkiwi

zhangkiwi commented on Jun 10, 2019

@zhangkiwi
Author

native uncompress tool on macOS is not OK,
The Unarchiver on macOS is not try.
Keka on macOS is OK.

We don't support split zip or multi-part zip archives???

I use old version support split zip or multi-part zip. but same zip have error with: Error Domain=SSZipArchiveErrorDomain Code=-2 "failed to open first file in zip file". I changed with latest version have error with:Error Domain=SSZipArchiveErrorDomain Code=-2 "failed to open file in zip file" UserInfo={NSLocalizedDescription=failed to open file in zip file},Using the new version seems to really not decompress the subcontract。

sea7reen

sea7reen commented on Apr 16, 2020

@sea7reen

native uncompress tool on macOS is not OK,
The Unarchiver on macOS is not try.
Keka on macOS is OK.

We don't support split zip or multi-part zip archives???

I use old version support split zip or multi-part zip. but same zip have error with: Error Domain=SSZipArchiveErrorDomain Code=-2 "failed to open first file in zip file". I changed with latest version have error with:Error Domain=SSZipArchiveErrorDomain Code=-2 "failed to open file in zip file" UserInfo={NSLocalizedDescription=failed to open file in zip file},Using the new version seems to really not decompress the subcontract。

  1. Add the following GCC_PREPROCESSOR_DEFINITIONS: HAVE_INTTYPES_H HAVE_PKCRYPT HAVE_STDINT_H HAVE_WZAES HAVE_ZLIB $(inherited).

build Setting-> Preprocessor Macros -> Multiple values
Add: HAVE_INTTYPES_H HAVE_PKCRYPT HAVE_STDINT_H HAVE_WZAES HAVE_ZLIB $(inherited)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Coeur@sea7reen@zhangkiwi

        Issue actions

          Error Domain=SSZipArchiveErrorDomain Code=-2 "failed to open first file in SPLIT/MULTI-PART zip file" · Issue #519 · ZipArchive/ZipArchive