Support Questions

Find answers, ask questions, and share your expertise

UnpackContent "txt.gz"

New Contributor

Hello everyone,

I would like to ask you is there any option how to unpack file txt.gz file in Apache Nifi flow.


To explain my needs:

I have simple flow to Get file from FTP and then import file content in to oracle DB.

Unfortunately generated file on FTP is compressed gz file "REPORT_20210726191211.txt.gz".

Is there any posibility how i can process this file ?


Thank you for any respond.


Master Guru



Have you tried using the CompressContent [1] processor?

This processor can be configured with "Mode" set to "decompress" and "Compression Format" set to "gzip".



If you found this response addressed your query, please take a moment to login and click on "Accept as Solution" below this post.


Than you,


Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.