erazer
Junior Member
Posts: 61
|
Post by erazer on Sept 22, 2008 15:29:38 GMT -5
How can i hide content/structure of zipped file ?
|
|
|
Post by Kevin on Sept 26, 2008 19:18:01 GMT -5
Use the setZipSignatures procedure which you can find in kpZipObj.pas.
procedure setZipSignatures(csig, lsig, esig: LongInt);
Notice there are 3 arguments, all longints. Call this procedure when your application starts up. Provide 3 numbers that are different from the normal signatures. Here are the normal signatures:
csig = $02014b50; lsig = $04034b50; esig = $06054b50;
This will cause zip utilities that normally look for these signatures in the archive to not find them and think that it is not a zip file. You will have to call this procedure (just once) before doing any zipping and unzipping so that VCLZip will set these signatures and look for them.
Kevin
|
|