Page 1 of 1
HB_ZIP functions description
Posted: Sun Sep 28, 2008 12:03 pm
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,
Posted: Sun Sep 28, 2008 12:25 pm
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,
Re: HB_ZIP functions description
Posted: Sun Sep 28, 2008 12:47 pm
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
Posted: Sun Sep 28, 2008 12:48 pm
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
Posted: Sun Sep 28, 2008 9:27 pm
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,
Posted: Sun Sep 28, 2008 11:05 pm
by Enrico Maria Giordano
Great!
EMG
Posted: Mon Sep 29, 2008 12:27 am
by Badara Thiam
Is'nt it ?