FetchFTP and ListFTP is working as expected

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

FetchFTP and ListFTP is working as expected

ravva
Hello - Here is my use case, I am using ListFTP and FetchFTP processor to get
the files from source. Once the files are fetched and stored in target
systems, there are new files that are being replaced with the same file
names in source. Right now,  I am running a cron job every 30 mins and new
file is added to source with same file name fore every 10 mins. When a new
file is placed in source with same file name, how can the listftp and
fetchftp pull the latest file.


Thanks,
Rohit



--
Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: FetchFTP and ListFTP is working as expected

Joe Witt
Rohit

It appears you could benefit from leveraging the entity tracking feature of
ListFTP

http://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.9.2/org.apache.nifi.processors.standard.ListFTP/index.html

Thanks

On Fri, May 31, 2019 at 4:06 PM ravva <[hidden email]> wrote:

> Hello - Here is my use case, I am using ListFTP and FetchFTP processor to
> get
> the files from source. Once the files are fetched and stored in target
> systems, there are new files that are being replaced with the same file
> names in source. Right now,  I am running a cron job every 30 mins and new
> file is added to source with same file name fore every 10 mins. When a new
> file is placed in source with same file name, how can the listftp and
> fetchftp pull the latest file.
>
>
> Thanks,
> Rohit
>
>
>
> --
> Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/
>