Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 12-07-2017 05:35 AM
Hello All,
I have a project that collect files in a directory and i create i binary that transform the file passed in argument
ex : ./myBinary <theFile> if execute it in as a shell command ....
but i want to integrate it in the nifi and do automaticaly the transformation for every files that arrives in the directory.
Thanks for advance for your answers.
Created 12-07-2017 08:54 PM
You could setup ListFile processor to periodically monitor the directory, and send the listings to an ExecuteCommand processor.
The command to execute would be ./yourBinary ${path}/${filename}"
The path and filename variables come from the flow files produced by ListFile.
Created 12-07-2017 08:54 PM
You could setup ListFile processor to periodically monitor the directory, and send the listings to an ExecuteCommand processor.
The command to execute would be ./yourBinary ${path}/${filename}"
The path and filename variables come from the flow files produced by ListFile.
Created 12-18-2017 12:29 PM
thank you very much , it is very helpful