[Gambas-user] UnCompress question

Benoit Minisini benoit.minisini at gambas-basic.org
Sat Sep 10 11:18:51 CEST 2022


Le 10/09/2022 à 10:23, Bruce Steers a écrit :
> 
> So gb.compress is limited to only blind single file archives, no archive 
> contents listing, no accessing / unpacking multiple files inside the 
> archive?
> and unpacked filename must be already known/assumed as there's no way to 
> read archive contents?
> 
> seems like a lot of library for very little functionality.
> 
> Could do with Uncompress.Dir() to list archive contents
> and then a way to extract single internal files like 
> Uncompress.Extract(Path, Dest)
> 
> sadly the component is written in C not gambas so it's beyond my tweaking.
> 
> Respects
> BruceS
> 
> 

Yes. 'gb.compress' is for compressing, not archiving.

If you want to create compressed archives, use the command-line tools.

Regards,

-- 
Benoît Minisini.


More information about the User mailing list