Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quazip error -103 with archives abover 4Gb #117

Open
perseedossrajiv opened this issue Apr 28, 2021 · 2 comments
Open

Quazip error -103 with archives abover 4Gb #117

perseedossrajiv opened this issue Apr 28, 2021 · 2 comments

Comments

@perseedossrajiv
Copy link

Hello,
I've recently upgraded quazip from 0.2.3 to 1.1. I'm getting -103 error when doing a read:

QuaZip Zip(ArchiveName);
if(!Zip.open(QuaZip::mdUnzip))
{
return -1;
}

QuaZipFile InFile(&Zip);

for(bool NextExist = Zip.goToFirstFile(); NextExist; NextExist = Zip.goToNextFile())
{
if(!InFile.open(QIODevice::ReadOnly))
{
std::cout << "Failed to open a file in the archive. QuaZip error: " << InFile.getZipError() << std::endl;
}

It feels like some of the archives open and some dont. Also those that dont open seem to be above 2 Gb.

Any idea what's happening here please? Thanks

@perseedossrajiv
Copy link
Author

Actually anything above 4 Gb fails, even something just less than 4Gb (3.9 Gb works) - over 4Gb and fail!

@zhangyfan
Copy link

Did you try QuaZip::setZip64Enabled?

@cen1 cen1 changed the title Quazip error -103 Quazip error -103 with archives abover 4Gb Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants