
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unarchive Password protected zip file
Hello ,
I am trying to unzip the password protected zip file. The tfileunarchive component is available where we can set the password and provide the Decrypt Method. But it is not unzipping the file and it gives below error.
javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher
I have select Decrypt method as :Java Decrypt.
This component works fine if we zip the file with tfilearchive and later use tfileunarchive to unzip the password protect file.
Please provide your input to over this.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi have you try the Zip4j method instead of java decrypt?
Send me Love and Kudos

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes , I tried the Zip4j option ,
It gives me below error,
net.lingala.zip4j.exception.ZipException: net.lingala.zip4j.exception.ZipException: unsupported encryption method.
As per documentation:
Note that the encrypted archive must be one created by the tFileArchive component; otherwise you will see error messages or get nothing extracted even if no error message is displayed.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
In addition to that, tFileUnarchive component does not support 7 zip file.
Best regards
Sabrina

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ok,
Any option to read this zip file ,other then using tfileunarchive component?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Could you please clarify in which Talend version/edition you are?
We have a similar issue and it is fixed in V 7.2.1.
Here is this jira issue: https://jira.talendforge.org/browse/TDI-42321
Best regards
Sabrina

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Talend Enterprise Edition 7.3.1
Regards

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Are you able to read this zip file by using any standard archive software? If so, you could use tSystem component as a workaround to achieve your goal in talend.
Best regards
Sabrina
