doesn't a single ftp route with fileExist=Move fulfil your
requirements? You mention that you use direct routes so starting from
a direct route with body set to payload of the new file to be uploaded
to the FTP server and CamelFileName header set to the file name:
On Mon, Apr 3, 2017 at 7:31 AM, dilip.pashupathi
<[hidden email]> wrote:
> 1. At the root folder of the FTP, there is file that needs to be deleted
> 2. Before deleting that file, the file should be taken as a backup and
> placed in one of the subdirectory.
> 3. After that from the request I need read the data and produce a file that
> should be placed in the ftp root directory.