Can anyone pls help to solve the below error.
File has complete permission
-rwxrwxrwx. 1 root root 120801311 Mar 15 06:32 kafka_experiment.csv
still im getting filenot found error while i try to get the data from remote machine.
and i tried all the ways to give remote path different way.
It appears your GetSFTP processor configuration is wrong. You entered the filename in the "Remote Path" field, so the processor is treating that filename as part of the directory path and then trying to look for all files within that complete target directory path.
If you only want the processor to consume that 1 file, try setting that file name in the "File Filter Regex" instead:
I tried the above setting file filter regex,but still its giving could not find the file on remote path.i am not understanding this how to solve.
but manually if i do sftp on nifi running machine its connecting to remote machine.
Make sure you do not have any leading or trailing whitespaces in either the "Remote Path" or "File Filter Regex" property values.
Can you share some screenshots of you connecting manually from command line on the nifi server to this SFTP server?
Once connected execute following: