You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Richa <rs...@gmail.com> on 2013/08/28 11:15:54 UTC

Parallel copy of files from FTP location.

Hi, 
I have a camel route that reads files from FTP location, does some
processing and then sends the files to output location. I am using a
locaWorkDirectory in the FTP url.
For now, at a time one file is copied to the local work directory, processed
and then sent to the output location. Is there a way I can copy multiple
files at the same time from the FTP location to the local work directory so
that the processing can be faster?



--
View this message in context: http://camel.465427.n5.nabble.com/Parallel-copy-of-files-from-FTP-location-tp5738136.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Parallel copy of files from FTP location.

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

See the red box on the ftp documentation
http://camel.apache.org/ftp2

On Wed, Aug 28, 2013 at 11:44 AM, Richa <rs...@gmail.com> wrote:
> Yes it does copy all the files from source to destination but it is done one
> by one. So unless one file is processed, the another won't be copied.
> I need to know a way where multiple files can be copied at once so that i
> can use threads for multiprocessing.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Parallel-copy-of-files-from-FTP-location-tp5738136p5738139.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

Re: Parallel copy of files from FTP location.

Posted by Richa <rs...@gmail.com>.
Yes it does copy all the files from source to destination but it is done one
by one. So unless one file is processed, the another won't be copied. 
I need to know a way where multiple files can be copied at once so that i
can use threads for multiprocessing.



--
View this message in context: http://camel.465427.n5.nabble.com/Parallel-copy-of-files-from-FTP-location-tp5738136p5738139.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Parallel copy of files from FTP location.

Posted by Bharath <bh...@gmail.com>.
Hi,

    It doesn't matter about single file or multiple files.It will copy all
the files from source to destination.

Cheers!!!
Bharath.R



--
View this message in context: http://camel.465427.n5.nabble.com/Parallel-copy-of-files-from-FTP-location-tp5738136p5738137.html
Sent from the Camel - Users mailing list archive at Nabble.com.