HB_ZIPFILE - File path

HB_ZIPFILE - File path

Postby sanilpmc » Wed Sep 17, 2008 8:47 am

Dear Friends,

Please help me. I am using HB_ZIPFILE method to create Zip. Application creates the zip file with all files in the location. But file path not adding in zip file. The following syntax is used for creating zip

Code: Select all  Expand view
HB_ZIPFILE( <cFile>, <cFileToCompress> | <aFiles>, <nLevel>,;
<bBlock>, <lOverWrite>, <cPassword>, <lWithPath>,; <lWithDrive>, ; <pFileProgress> )


My application code for generating zip

Code: Select all  Expand view
hb_ZipFile( cZipName, aFiles,9,bOnZipFile,,,.T.)


cZipName - Zip file name
aFiles -Files to compress

I try to add the files path also in zip. but it not working.

Thank you
Sanil
sanilpmc
 
Posts: 36
Joined: Tue Jun 17, 2008 7:09 am

Re: HB_ZIPFILE - File path

Postby Armando Picon » Wed Sep 17, 2008 8:50 pm

Sanil

The code that I sent you... It has no help to you?

sanilpmc wrote:Dear Friends,

Please help me. I am using HB_ZIPFILE method to create Zip. Application creates the zip file with all files in the location. But file path not adding in zip file. The following syntax is used for creating zip

Code: Select all  Expand view
HB_ZIPFILE( <cFile>, <cFileToCompress> | <aFiles>, <nLevel>,;
<bBlock>, <lOverWrite>, <cPassword>, <lWithPath>,; <lWithDrive>, ; <pFileProgress> )


My application code for generating zip

Code: Select all  Expand view
hb_ZipFile( cZipName, aFiles,9,bOnZipFile,,,.T.)


cZipName - Zip file name
aFiles -Files to compress

I try to add the files path also in zip. but it not working.

Thank you
Sanil
FWH + BCC582 + WorkShop 4.5 + Resource Hacker + Mingw
Mis nuevas herramientas
Comunicacion via WhatsApp (+51) 957549 665
Comunicación via Correo: apic1002002 at yahoo dot es; apic1002002@gmail.com
User avatar
Armando Picon
 
Posts: 446
Joined: Mon Dec 26, 2005 9:11 pm
Location: Lima, Peru


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 80 guests