Coder Social home page Coder Social logo

Extract have something wrong about libzippp HOT 4 OPEN

EunChae1110 avatar EunChae1110 commented on August 26, 2024
Extract have something wrong

from libzippp.

Comments (4)

ctabin avatar ctabin commented on August 26, 2024

Hi @EunChae1110,
What about the zip ? If you extract the file with zip is it correct ?
Did you try with another extraction method ?
Can you provide a full test case ?
Thanks.

from libzippp.

EunChae1110 avatar EunChae1110 commented on August 26, 2024

Because of my file is large. I saw your document that is using readContent. I used WinRAR to archive the zip

from libzippp.

EunChae1110 avatar EunChae1110 commented on August 26, 2024

Here is any extraction method in libzippp?

from libzippp.

Jcdoliner avatar Jcdoliner commented on August 26, 2024

Might be an old issue but if anybody still has trouble with this:

I had the same issue as you. you should put the mode of your ofstream to std::ios::binary. It can be something like this:
std::ofstream desFile((filename),std::ios::binary);
This causes the output file stream to open in binary mode thus appending the correct character sequence.

from libzippp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.