FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour HB_ZIPFILE - File path
Posts: 36
Joined: Tue Jun 17, 2008 07:09 AM
HB_ZIPFILE - File path
Posted: Wed Sep 17, 2008 08: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

HB_ZIPFILE( <cFile>, <cFileToCompress> | <aFiles>, <nLevel>,;
<bBlock>, <lOverWrite>, <cPassword>, <lWithPath>,; <lWithDrive>, ; <pFileProgress> )


My application code for generating zip

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
Posts: 446
Joined: Mon Dec 26, 2005 09:11 PM
Re: HB_ZIPFILE - File path
Posted: Wed Sep 17, 2008 08: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

HB_ZIPFILE( <cFile>, <cFileToCompress> | <aFiles>, <nLevel>,;
<bBlock>, <lOverWrite>, <cPassword>, <lWithPath>,; <lWithDrive>, ; <pFileProgress> )


My application code for generating zip

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

Continue the discussion