Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

NiFi Unpack contents with password

NiFi Unpack contents with password

New Contributor

Hello,

Is there an option to provide password for a file extraction when using UnpackContent in Nifi. I am trying to extract zip files from a pack which requires a password for extraction.

Thanks

1 REPLY 1

Re: NiFi Unpack contents with password

Master Guru
@D D

The UnpackContent processor does not support unpacking password protected zip files.

-

You might try using a executeScript or ExecuteStreamCommand processor to call the unzip command externally. I have not tried this myself. Down side would be password would be in plaintext in your script.

-

Thank you,

Matt

-

If you found this Answer addressed your original question, please take a moment to login and click "Accept" below the answer.

Don't have an account?
Coming from Hortonworks? Activate your account here