FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour HB_ZIP functions description
Posts: 160
Joined: Tue Oct 18, 2005 10:21 AM
HB_ZIP functions description
Posted: Sun Sep 28, 2008 12:03 PM

Hello,

I have not found the last list of HB_ZIP functions.
The last than i have found, in this forum, is one provided by Enrico in 2005.

Is there a new list now ?

Regards,

Badara Thiam
http://www.icim.fr
Posts: 160
Joined: Tue Oct 18, 2005 10:21 AM
HB_ZIP functions description
Posted: Sun Sep 28, 2008 12:25 PM

I need particulary a function to retrieve these values registered
for each file in the .zip file :

Date and time of the file archived inside the .zip file.

Is it possible to retrieve these values ?

Regards,

Badara Thiam
http://www.icim.fr
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: HB_ZIP functions description
Posted: Sun Sep 28, 2008 12:47 PM
Badara Thiam wrote:Hello,

I have not found the last list of HB_ZIP functions.
The last than i have found, in this forum, is one provided by Enrico in 2005.

Is there a new list now ?


No. It is still the same.

EMG
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
HB_ZIP functions description
Posted: Sun Sep 28, 2008 12:48 PM
Badara Thiam wrote:I need particulary a function to retrieve these values registered
for each file in the .zip file :

Date and time of the file archived inside the .zip file.

Is it possible to retrieve these values ?


No, as far as I know.

EMG
Posts: 160
Joined: Tue Oct 18, 2005 10:21 AM
HB_ZIP functions description
Posted: Sun Sep 28, 2008 09:27 PM

I have found between time in C source.
Here is the solution :

local FICZIP := "c:\MonFichier.Zip"
aFilesInZip := hb_GetFilesInZip( FICZIP, .T.)

aFilesInZip is here an array. Each element is also
an array, where you can found :

1 - Nom et extension du fichier
2 - Longueur (taille décompressé)
3 - Méthode (Stored, Deflatx, etc...)
4 - Taille du fichier dans l'archive (compressé)
5 - Pourcentage de compression
6 - Date (format Date JJ/MM/AAAA)
7 - Heure (Format 99:99:99)
8 - CRC-32
9 - Attribut(s)

Salut,

Badara Thiam
http://www.icim.fr
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Posts: 160
Joined: Tue Oct 18, 2005 10:21 AM
HB_ZIP functions description
Posted: Mon Sep 29, 2008 12:27 AM

Is'nt it ?

Badara Thiam
http://www.icim.fr

Continue the discussion