The NiFi FetchSFTP processor has several "Completion Strategy" options:
- None (default) <- leaves file as-is on SFTP server after reading content
- Move File <- Moves file after successful read to directory specified in the "Move Destination Directory" property.
- Delete File <- Deletes original file from SFTP server after success read of content.
So as long as your FetchSFTP is configured with the default "None" Completion Strategy, the File will remain in original source location on the target SFTP server.
If you found that the provided solution(s) assisted you with your query, please take a moment to login and click Accept as Solution below each response that helped.