I have two server A and B. I am trying to sftp a file from A to B.

A is source and B is destination.

When I sftp to B location is /a/test1, after my sftp is done I want to move
my file from /a/test1 to /a/test2

i tried following configuration

<route>
    <from uri="file:///test/local/" />
    <to
uri=&quot;sftp://&lt;username>@<host>:<port>/<path-on-remote-server>/?move=<path-to-move-to-after-sftp-complete>"
/>
</route>

Can someone please help me understand why "move" parameter is not working.
Am I using it incorrectly, Is there a way I can achieve what I am trying to
do?


--
View this message in context: 
http://camel.465427.n5.nabble.com/sftp-to-remote-server-and-move-ftpied-file-to-other-location-on-remote-server-tp5714088.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to