Created on 03-16-2018 06:09 AM - edited 08-17-2019 11:55 PM
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.
Created 03-16-2018 07:16 AM
Created 03-16-2018 10:28 AM
there s no specific reason for that, i am just trying all possible ways wheather it will work or not @Sandeep Nemuri
Created 03-16-2018 07:47 AM
Can you correct remote path...
It should /root/template_writing/kafka_experiment.csv
Created 03-16-2018 07:53 AM
It's giving the same error.
Created 03-17-2018 06:58 AM
Created on 03-19-2018 05:06 PM - edited 08-17-2019 11:55 PM
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:
Created 03-20-2018 10:19 AM
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.
Created 03-20-2018 11:45 AM
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:
Created 07-22-2019 08:51 AM
@hema moger please could you supply the answer i.e. what worked for you to be able to resolve this error.