Ecere SDK/eC Forums
Print view

Utilities to manipulate Compressed Files
Page 1 of 1
Author:  samsam598 [ Tue Jul 15, 2014 3:11 am ]
Post subject:  Utilities to manipulate Compressed Files


Would like to know whether any utils over there to read/write zip/7z/rar format files?

Thanks for the help in advance.
Author:  jerome [ Mon Aug 18, 2014 10:15 am ]
Post subject:  Re: Utilities to manipulate Compressed Files

Hi Sam,

Yet another forum post that I didn't notice... Sorry.

The goal is that this would be handled by the Ecere File and Archive class.
FileOpen("<>path/to/file.txt", read) would let you open a file within a ZIP archive whereas the Archive class will handle creating and adding to existing archives.
See ear/cmd and ear/extract for example usage.

The current reality though is that only Ecere Archives (ear) are supported at the moment.

There are libraries available however, and it'd be nice to add support through the File/Archive classes for other archives through modules.

gz: zlib supports that (
tar: Should be simple enough to do ourselves -- this also supports multiple archive formats

Please let me know if you'd be interested to contribute modules for this :)


All times are UTC-05:00 Page 1 of 1