Support Questions

Find answers, ask questions, and share your expertise
Celebrating as our community reaches 100,000 members! Thank you!

FetchSFTP Completion Strategy, No Such File or Directory

New Contributor

Hello all,


My requirement:

Use Nifi to move files from SERVER A to SERVER B using the ListSFTP and FetchSFTP processors. Upon completion move said files to a different backup directory on server A.


My Issue: All normal SFTP functions seem to be working properly but when I use the Completion Strategy "Move" in the FetchSFTP processor, it will create the desired directories on SERVER A but NOT place the files there instead throwing the following error:

Successfully fetched the content for [FLOWFILE] from [REMOTE SERVER] but failed to rename the remote file due to no such file or directory.


Upon examining the attributes of the flowfile both the file name and file path are set correctly, like I said, it DOES create the necessary directories within SERVER A but it is not moving the actual files to them. 


Any help would be appreciated, thank you.