Support Questions

Find answers, ask questions, and share your expertise

Apache Nifi: Unzip a file with password in nifi

Explorer

May I know which processors support unzipping a file with password

2 REPLIES 2

Expert Contributor

ExecuteStreamCommand with password as command argument should work.

Caution: The zipped files will need to be loaded into memory so make sure you have enough heap allocated.

Explorer

I tried but it does not work, because it does not allow to run "unzip" command on the dataflow.

Command Argument:

Command Path: /usr/bin/unzip

Ignore STDIN: false

Working Directory:

Argument Delimiter: ;

Output Destination Attribute

Max Attribute Length: 256

Please advise with working examples.