Created on 04-05-2022 02:54 AM - last edited on 04-05-2022 05:25 AM by VidyaSargur
Hello Team,
I have scenario below need you help which processor use in apache nifi.
I want to pull near real time files from FTP server and put to HDFS. but after pull files I want to move those files to other path in the same ftp server or rename to new name like (.tmp).
Please help me to design this data flow.
Thank
Regards,
Created 04-06-2022 06:04 AM
@mala_etl Check out this feature in FetchSFTP:
It allows you to move the files into a new directory after fetching them.
Created 04-06-2022 06:32 PM
Hello @steven-matison , Could you provide of value of each properties?
Created 04-08-2022 07:10 AM
@mala_etl Well I cant do all of them, that would be to your values, not mine, but to achieve the move, you need to set:
Completion Strategy: Move File
Move Destination Directory: The directory to move file to
Create Directory: enable true/ disable false
Be sure to check the ? for each property, it will explain everything.