I have a photoalbum and I'm using a zip file to add the images to the album. As long as the zip file contains no directories, it all goes fine.
But let's say I have zip file like this;
Is there a way to extract all the jpgs at the root level of the unpackfolder? Meaning that it ignores the directories in the zip, and extract jpg's only.
If I do it like this, it's takes the directory structure into the unpackDirectory.
foreach (ZipEntry e in zip)
I need a way to remove the preceding folder path before extracting... any ideas?