I’m trying to read a zipfile directly from a url. However, open-uri and
rubyzip don’t seem to cooperate very well:
url = “http://www.cibiv.at/~phuong/vien/8a375.zip”
zip_file = Zip::ZipFile.open(url)
This code produces a ZipError, saying it can’t find the zip file.
open-uri obviously does not support Zip::ZipFile.open. I’m pretty new to
Ruby (and programming in general), is there any other way to open the
Writing all zipfiles to a new file on the hd would be a nightmare
perfomance wise, as I only need a few very small files out of every
zipfile, but I need to process a few hundred zipfiles…
Thanks in advance!