nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prabhu Mahendran <>
Subject Re: How to lock getfile upto putfile write into same file?
Date Thu, 18 May 2017 07:06:35 GMT
Ok. I will append the '.' before Putfile using UpdateAttribute. Is this
name(without '.') will automatically changed by Putfile when its done?

Since I am appending each rows from html content into proper csv using
Putfile processor. Is this works fine? How putfile knows complete html
flowfiles has been moved.

On Tue, May 16, 2017 at 7:53 PM, Juan Sequeiros <> wrote:

> Prabhu,
> PutFile should pre-pend files with a "." while it is writing to it and
> then in the end will copy the "." file to its "filename" value.
> On GetFile side make sure that "ignore hidden files" is set to true.
> On Tue, May 16, 2017 at 1:29 AM prabhu Mahendran <>
> wrote:
>> I have scheduled getfile processor to 0 sec to track the local folder.
>> Issue I have faced: PutFile is appending few flowfiles into single file.
>> Getfile has been configured with keepsourcefile as false. So getfile is
>> fetching partial content before putfile writes into local location.
>> How to handle this issue? Can we lock the file till putfile/custom
>> processor completely writes the file and remove lock once completed??

View raw message