I thought I would use zlib, but looking over the documentation I'm not quite seeing a function that would let me flat out add an already generated .txt file an already established .zip file. Then again, I'm a bit retarded. Any thoughts?
Thanks!
02 Sep, 2013, Rarva.Riendf wrote in the 2nd comment:
not quite sure there is a 'simple' command to just add a file to zip. Compression use a dictionary depending on content. So if you append something quite logically, the dictionary should change. (think decompressing, then reanalysing and recompressing) Or you just use a container for all your differently compressed file. zip is not that container.
I thought I would use zlib, but looking over the documentation I'm not quite seeing a function that would let me flat out add an already generated .txt file an already established .zip file. Then again, I'm a bit retarded. Any thoughts?
Thanks!