You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by skasish <as...@hotmail.com> on 2014/06/19 09:10:52 UTC

How to transfer folder to another ftp server.

How to transfer folder to another  ftp server.

ftp
|__20140619
    |__MF
    |__GT
    |__OT
    |__NT

I want to transfer the folder '20140619' to another FTP location except the
'MF' folder.

How is it possible??



--
View this message in context: http://camel.465427.n5.nabble.com/How-to-transfer-folder-to-another-ftp-server-tp5752553.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to transfer folder to another ftp server.

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Read about the various filters you can use to include/exclude
files/directories. See the docs for the ftp and file component. Notice
that the ftp component extends the file component so almost all the
file options works for the ftp too.

On Thu, Jun 19, 2014 at 11:41 AM, skasish <as...@hotmail.com> wrote:
> Hi Chirag,
>
> Thank you for your reply.
>
> Yes I want to create the same folder structure on destination server.
>
> How do I exclude some sub-folders??
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-to-transfer-folder-to-another-ftp-server-tp5752553p5752573.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Re: How to transfer folder to another ftp server.

Posted by skasish <as...@hotmail.com>.
Hi Chirag,

Thank you for your reply.

Yes I want to create the same folder structure on destination server.

How do I exclude some sub-folders??



--
View this message in context: http://camel.465427.n5.nabble.com/How-to-transfer-folder-to-another-ftp-server-tp5752553p5752573.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to transfer folder to another ftp server.

Posted by Chirag Dewan <ch...@yahoo.in>.
Hi,

You want the exact same folder structure to be created on the destination server?

If not,you can use recursive property of File component. It will poll the files in sub folders too.

Chirag



________________________________
 From: skasish <as...@hotmail.com>
To: users@camel.apache.org 
Sent: Thursday, 19 June 2014 12:40 PM
Subject: How to transfer folder to another  ftp server.
 

How to transfer folder to another  ftp server.

ftp
|__20140619
    |__MF
    |__GT
    |__OT
    |__NT

I want to transfer the folder '20140619' to another FTP location except the
'MF' folder.

How is it possible??



--
View this message in context: http://camel.465427.n5.nabble.com/How-to-transfer-folder-to-another-ftp-server-tp5752553.html
Sent from the Camel - Users mailing list archive at Nabble.com.