Hi Billy,

Have you ever see our camel-example-ftp sample project  ?

https://github.com/apache/camel/tree/master/examples/camel-example-ftp

but your xml spring route should look like :

<!-- this is an included XML file where we only the the routeContext -->
    <routeContext id="myCoolRoutes" xmlns="
http://camel.apache.org/schema/spring";>
        <!-- we can have a route -->
        <route id="ftp">
            <from uri="file:inbox?charset=utf-8"/>
            <to uri="log:com.mycompany.order?level=DEBUG"/>
            <to uri="
ftp://remote-ftp-server.com:21/push?username=foo&password=bar"/>
            <to uri="
ftp://production-ftp-server.com:21/push?username=foo&password=bar"/>
        </route>

    </routeContext>

after, you can check our spring documentation here :

http://camel.apache.org/spring.html

Enjoy !!

On Mon, Jan 11, 2016 at 4:12 PM, bbuzzard <[email protected]>
wrote:

> Would someone explain to me how to set up a Spring route that routes a file
> to a remote FTP work folder and once the file has been delivered it is
> moved
> to the remote FTP final (production) folder?
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Howto-route-to-a-remote-FTP-work-folder-then-move-to-the-remote-FTP-final-folder-tp5776148.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Best Regards, Bien à vous,  どうぞお元気で,
____________________________________________________
Greg AUTRIC
- JBoss Middleware Consultant -

twitter : @gautric_io

Red Hat France
web : http://www.redhat.fr
Le Linea, 1 rue du General Leclerc,
92047 Paris La Défense Cedex

Reply via email to