Hi Poco Experts,
How can I enumerate a zip for all its files and directories? Do I use ZipArchive for this? I did see in the zip user manual the following code to look up one file:
std::ifstream inp("test.zip", std::ios::binary);
ZipArchive::FileHeaders::const_iterator it = arch.findHeader("data/hello.txt");
poco_assert (it != arch.headerEnd());
ZipInputStream zipin (inp, it->second);
However, I need to know how to do the traversal of all directories and files.