Visual FoxPro
Visual FoxPro
UnGzip .tgz to get a .tar
See more Tar Archive Examples
A .tgz is simply a TAR archive compressed using GZip. It is also commonly referred to as a .tar.gz. Chilkat GZip can be used to ungzip to get an uncompressed .tar.Chilkat Visual FoxPro Downloads
LOCAL lnSuccess
LOCAL loGzip
lnSuccess = 0
loGzip = CreateObject('Chilkat.Gzip')
lnSuccess = loGzip.UncompressFile("qa_data/tar/test.tgz","qa_output/test.tar")
IF (lnSuccess <> 1) THEN
? loGzip.LastErrorText
ELSE
? "success."
ENDIF
RELEASE loGzip