nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Devin Pinkston <pinkdevel...@gmail.com>
Subject Re: .zip archive or expression language
Date Thu, 24 Sep 2015 14:36:48 GMT
how did i not see that?  Sorry for the pointless question, thank you very
much Bryan!

On Thu, Sep 24, 2015 at 10:34 AM, Bryan Bende <bbende@gmail.com> wrote:

> Hi Devin,
>
> Have you taken a look at UnpackContent [1] ? I think that should be able
> to unpack a FlowFile where the content is a zip file.
>
> -Bryan
>
> [1]
> https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.standard.UnpackContent/index.html
>
> On Thu, Sep 24, 2015 at 10:27 AM, Devin Pinkston <pinkdevelops@gmail.com>
> wrote:
>
>> Hello,
>>
>> I'm using NiFi to pull down some .zip archives off the web and want to
>> extract them and do some processing, however it looks like i can't
>> decompress a .zip archive.  Do i need to use the ExecuteProcess processor
>> in order to handle this with an "unzip"?  If so, is there a way through
>> expression language that i can use "unzip $.filename" that was downloaded
>> using the GetHttp processor?  Or do i need to use this path: GetHttp ->
>> PutFile -> ExecuteProcess(unzip)?
>>
>> Thanks
>>
>
>

Mime
View raw message