WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Zipper

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

How the Update Option Works

Keywords: 	 update infozip

Question:

First off, nice extender! However, I have some questions about usage. It appears as if you have implemented the fine InfoZip code, and also inherited some of its "limited features". I'm trying to convert some WB code that calls pkzip and zips some files/dir structure to the server. It uses the pkzip update feature to only copy changed/modified files (zips are somewhat large and users complain about the wait for a full zip). The new extender and the u option seem to work fine except - that if file1.txt is zipped and then later removed from the directory structure, the u option does not remove it from the zip file. InfoZip does the same thing.

Answer:

Yes, our Zip extender is modelled after InfoZip's methodology.

Pkzip works the same way as infozip does on an update, as does the Zip extender. So if a directory contains files f1.txt, f2.txt, and f3.txt, and were zipped to a file name test.zip. And then if you deleted f1.txt from the directory and ran the Zip extender with the update option, f1.txt will NOT be removed from the zip file. That's not how any of these zip utilities work, ourselves included.


Article ID:   W12693
Filename:   How Update Works.txt
File Created: 1999:04:15:16:48:58
Last Updated: 1999:04:15:16:48:58