|
Post by Petko on Feb 28, 2004 13:31:56 GMT -5
Kevin, it there a way to check whether a file with a given name is in the zip file? The only way I find to do it, is to unzip it to stream, however, when I have to check for multiple files, this is slow.
Thanks, Petko Kafedjiski
|
|
|
Post by Kevin on Mar 1, 2004 8:57:37 GMT -5
You can open the zip file (VCLZip.ReadZip) and then check the indexed properties, like FileName, or FullName. This way you don't have to go through the unzip process. You can also sort the indexed properties first which could make checking through the filenames faster.
Kevin
|
|