Code Monkey home page Code Monkey logo

Comments (4)

maennchen avatar maennchen commented on June 11, 2024

@SimonThornett Can you share a corrupt file to debug the issue?

from zipstream-php.

Eddy84 avatar Eddy84 commented on June 11, 2024

We have the same issue that ZipStreams from S3 contain 1 file that is too large.
task_100089_images_26.09.2023 13_46.zip

I can reliably reproduce the issue like so:

  1. Upload 4 images to S3
  2. Load each image once in the browser (they are loading as expected)
  3. Create a ZipStream with the 4 files, the zip file opens find and the file sizes look correct
  4. Create another ZipStream with the same 4 files, now you got one file that is too large
  5. The image can't be open in the browser anymore

We use Laravel and spatie media library, under the hood it uses league/flysystem.

from zipstream-php.

maennchen avatar maennchen commented on June 11, 2024

@Eddy84 Do I understand it correctly that you create two archive containing the same files in the same request / program execution?

Can you send me the working & the broken archives? Then I can compare them.

Also the code around generating the files would be useful.

Additionally the files in there would also be helpful to compare file sizes & content with the zip headers

from zipstream-php.

maennchen avatar maennchen commented on June 11, 2024

Closed because of inactivity. Feel free to re-open if this is still relevant.

from zipstream-php.

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.