HB_ZIP functions description

Post Reply
User avatar
Badara Thiam
Posts: 160
Joined: Tue Oct 18, 2005 10:21 am
Location: France
Contact:

HB_ZIP functions description

Post by Badara Thiam »

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
User avatar
Badara Thiam
Posts: 160
Joined: Tue Oct 18, 2005 10:21 am
Location: France
Contact:

Post by Badara Thiam »

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
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: HB_ZIP functions description

Post by Enrico Maria Giordano »

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
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

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
User avatar
Badara Thiam
Posts: 160
Joined: Tue Oct 18, 2005 10:21 am
Location: France
Contact:

Post by Badara Thiam »

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
User avatar
Badara Thiam
Posts: 160
Joined: Tue Oct 18, 2005 10:21 am
Location: France
Contact:

Post by Badara Thiam »

Is'nt it ?
Badara Thiam
http://www.icim.fr
Post Reply