From: Janus Bor Date: 2008-07-02T20:49:26+09:00 Subject: [rubyzip + open-uri] reading zipfiles from a url? Hi everyone! I'm trying to read a zipfile directly from a url. However, open-uri and rubyzip don't seem to cooperate very well: require 'zip/zip' require 'open-uri' url = "http://www.cibiv.at/%7Ephuong/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 zipfile directly? 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! Janus -- Posted via http://www.ruby-forum.com/.