HB_ZIP functions description

HB_ZIP functions description

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

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

Re: HB_ZIP functions description

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

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

Postby Badara Thiam » Sun Sep 28, 2008 9: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
User avatar
Badara Thiam
 
Posts: 160
Joined: Tue Oct 18, 2005 10:21 am
Location: France

Postby Enrico Maria Giordano » Sun Sep 28, 2008 11:05 pm

Great!

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Badara Thiam » Mon Sep 29, 2008 12:27 am

Is'nt it ?
Badara Thiam
http://www.icim.fr
User avatar
Badara Thiam
 
Posts: 160
Joined: Tue Oct 18, 2005 10:21 am
Location: France


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 81 guests