Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add validity check for missing z* files #31

Closed
oleg-cherednik opened this issue Aug 3, 2020 · 1 comment
Closed

Add validity check for missing z* files #31

oleg-cherednik opened this issue Aug 3, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request resolved Issue is resolved

Comments

@oleg-cherednik
Copy link
Owner

is it possible to add (or change existing) validity check that will verify if all split files exists?

it happens that sometimes one or few zip split files (z01, z02 ...etc.) are missing on the disk (due to various reasons, not related to zip4j). The extractAll method will start the extraction and will fail only when it encounter the missing file with
Caused by: java.io.FileNotFoundException: zip split file does not exist: /home/ec2-user/bigZip.z11

it would be nice if i could test for missing files in advance. (like zipFile.isValidZipFile() add zipFile.isValidSplitZipFile() )

@oleg-cherednik oleg-cherednik added the enhancement New feature or request label Aug 3, 2020
@oleg-cherednik oleg-cherednik changed the title Feature: add validity check for missing z* files Add validity check for missing z* files Aug 3, 2020
@oleg-cherednik oleg-cherednik self-assigned this Aug 22, 2020
oleg-cherednik added a commit that referenced this issue Aug 23, 2020
oleg-cherednik added a commit that referenced this issue Aug 23, 2020
oleg-cherednik added a commit that referenced this issue Aug 23, 2020
#31 - split zip validation
@oleg-cherednik oleg-cherednik added the resolved Issue is resolved label Aug 23, 2020
oleg-cherednik added a commit that referenced this issue Aug 31, 2020
#31 - Add validity check for missing z* files
@oleg-cherednik
Copy link
Owner Author

Implemented in v1.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request resolved Issue is resolved
Projects
None yet
Development

No branches or pull requests

1 participant