Read file comments from a zip file in Ruby -
I am doing Ruby, I need to read the contents of the file and comments from a zip file. There is no problem with content gem but I am unable to get the comment. Any ideas?
You really want every comment from those files, on which I had a lot of time finding difficult times Here is an example of how a comment can be obtained from a file.
is required 'zip / zip' zip :: zip file.open ("6.zip"). ZIPfile | P zipfile.get_entry ("90052.txt"). Comment ending
Comments
Post a Comment