We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Hi, on some zip files Zip::InputStream reads only the first file:
require 'zip' Zip::File.open('b.zip') do |io| io.each do |entry| puts "Entry: #{entry.name}" end end # output: # Entry: 1_factura_14277089822133838.pdf # Entry: B632761741427708982713.pdf # Entry: factura_14277089822133838.xsig # Entry: RespuestaWS.xml Zip::InputStream.open(StringIO.new(File.read('b.zip'))) do |io| while (entry = io.get_next_entry) puts "Entry: #{entry.name}" end end # output: # Entry: 1_factura_14277089822133838.pdf
here is the zip example:
https://gist.github.com/lluis/bed8caa5cbccc58d47ac/raw/cb9b4db0289c0018542df72148e752f8dd13aa77/b.zip
The text was updated successfully, but these errors were encountered:
@lluis please read this https://github.com/rubyzip/rubyzip#notice-about-zipinputstream
Sorry, something went wrong.
@simonoff ok! but no exception is raised
Exceptions implemented in master branch
ok thanks!
No branches or pull requests
Hi,
on some zip files Zip::InputStream reads only the first file:
here is the zip example:
https://gist.github.com/lluis/bed8caa5cbccc58d47ac/raw/cb9b4db0289c0018542df72148e752f8dd13aa77/b.zip
The text was updated successfully, but these errors were encountered: