You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by ashmeet kandhari <as...@gmail.com> on 2017/01/16 15:31:03 UTC

Retrieve files from handleHttpRequest processor

Hi

Am trying to extract the file uploaded from HandleHttpRequest processor
which receives a multipart/form-data. How can that be done.

PS: nifi-1.1.1 is being used

Regards
Ashmeet

Re: Retrieve files from handleHttpRequest processor

Posted by James Wing <jv...@gmail.com>.
Ashmeet,

Are you still having trouble with HandleHttpRequest?  The file data should
be included in the flowfile content for flowfiles generated by
HandleHttpRequest.  Are you seeing content, and the number of bytes you
expect?

However, the content will probably be packaged as multipart/form-data and
not as the single file you want.  I'm not aware of a NiFi processor that
will magically decode that for you yet.

Thanks,

James

On Mon, Jan 16, 2017 at 7:31 AM, ashmeet kandhari <
ashmeetkandhari93@gmail.com> wrote:

> Hi
>
> Am trying to extract the file uploaded from HandleHttpRequest processor
> which receives a multipart/form-data. How can that be done.
>
> PS: nifi-1.1.1 is being used
>
> Regards
> Ashmeet
>