<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>27 Jun 2018 18:26:32 Z</lastBuildDate><pubDate>27 Jun 2018 18:26:32 Z</pubDate><description>Hi all,&#13;
&#13;
i try to extract an *.gz file (ok, the help tells me that zipExtractAll it only supports *.tar, *.tgz, *.tar.gz), but it always says "The Archive is corrupt" (also tried with *.tar, *.tgz, *.tar.gz =&gt; same error), but i can open it with e.g. 7zip.&#13;
&#13;
A *.zip works with the code below.&#13;
&#13;
My code is: (aFile is the fullpath to the file)&#13;
[code:wl]&#13;
nErr=zipOpen("MyArchive",AFile)&#13;
IF nErr=0 THEN &#13;
	nErr=zipExtractAll("MyArchive",fExtractPath(AFile, fDrive + fDirectory)) &#13;
END &#13;
IF nErr&gt;0 THEN&#13;
	Error("Error unzipping file.",zipMsgError(nErr)) &#13;
END &#13;
zipClose("MyArchive")&#13;
[/code]&#13;
&#13;
I really need this for *.gz, but with the same error on *.tar, *.tgz, *.tar.gz maybe i miss something here?&#13;
&#13;
Best regards,&#13;
Thomas</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66015-extract/read.awp</link><title>Extract a *.gz</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
