Support Questions
Find answers, ask questions, and share your expertise

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
Highlighted

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.