Giter Club home page Giter Club logo

Comments (13)

joebordes avatar joebordes commented on June 24, 2024

share the .zip file with us, please

from corebos.

rtougn avatar rtougn commented on June 24, 2024

Test.zip

it here, tks

from corebos.

joebordes avatar joebordes commented on June 24, 2024

did you .zip that file yourself or download it from the application?

from corebos.

joebordes avatar joebordes commented on June 24, 2024

it looks ok. going to give it a try

from corebos.

rtougn avatar rtougn commented on June 24, 2024

I tried another file on the internet and it was ok, but the file I created doesn't work

from corebos.

denaldhushi avatar denaldhushi commented on June 24, 2024

@joebordes I think the problem is to the zip. the zip is not generated with the correct file structure.
directories are missing, they are generated as files modules/test/test.php.
It can be an issue with ziparchive extension I guess?
image

from corebos.

joebordes avatar joebordes commented on June 24, 2024

yes @denaldhushi, you are right! the directory structure is separated by a backslash (), not a forward slash (/)
some Windows thing for sure
@rtougn please try to use another zip tool, something compatible with the UNIX format and let us know
the files seem to be correct from what I see

from corebos.

rtougn avatar rtougn commented on June 24, 2024

I don't quite understand. error appears when creating .zip file? I tried uninstalling winrar -> 7zip but still error
ps: i see it, but don't know how to fix the error
Untitled

from corebos.

joebordes avatar joebordes commented on June 24, 2024

has to be some configuration option in that application where you can set the directory separator to UNIX style

from corebos.

joebordes avatar joebordes commented on June 24, 2024

https://superuser.com/questions/1382839/zip-files-expand-with-backslashes-on-linux-no-subdirectories

HTH

from corebos.

joebordes avatar joebordes commented on June 24, 2024

let us know how it goes and what you have to configure to get the right format

from corebos.

joebordes avatar joebordes commented on June 24, 2024

I just connected to a windows machine, created directory structure, selected the files, right clicked and selected "compress zip". downloaded the file to my linux server and it has the forward slash correct. try that

$ unzip -l /home/joe/test.zip 
Archive:  /home/joe/test.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  2024-03-27 18:15   New folder/New Text Document.txt
        0  2024-03-27 18:15   New Text Document.txt
---------                     -------
        0                     2 files

from corebos.

joebordes avatar joebordes commented on June 24, 2024

I hope you found a solution. If so, and you can, share :-)

from corebos.

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.