Not sure if we have a solution already on this.
While using the FTP or SFTP, I have a requirement to move the failed files to a different directory rather than the processed directory. So I have defined directories for move and also for moveFailed. When I am throwing the exception from the service method, the file still moves to the processed folder.
If this is a know bug, then any suggestions for alternative to do the same?
Appreciate your resolutions!