Support Questions

Find answers, ask questions, and share your expertise

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.

0 REPLIES 0
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.