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