I have a main zip file that contains other nested zip files. I need to extract all these files and apply some custom naming rules to the extracted files. Here’s what I’m looking to achieve:
Extract the Main Zip File: Unzip the main archive to access the nested zip files.
Nested Zip Files: Perform some validation on the names of the nested zip files.
I'm facing two problems:
1-When I try to extract a zip file that contains nested zip files, it doesn't extract them correctly and doesn't output any errors. However, if I include other types of documents, like .docx or .txt, they are extracted correctly.
2-How can I read the contents of a zip file (e.g., the names and types of the nested files)? I’m using a zip extractor, but it doesn't seem to offer this option.
Does anyone have any ideas on how to solve these issues?
Discussion posts and replies are publicly visible