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