camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bvahdat <>
Subject Re: FT2: How do I know the list of file that a Consumer FTP2 is receiving?
Date Tue, 20 Dec 2011 13:04:28 GMT
Hi Raul,

instead of coding the polling-logic by yourself you could delegate that to
the ftp component [1] by defining a proper route for it, see the example in
[1] with the description:

"In the sample below we set up Camel to download all the reports from the
FTP server once every hour (60 min) as BINARY content and store it as files
on the local file system."

So that you don't have to code it by yourself if there's any newly available
file since the last poll. If you've got any exaggerated requirements you
could of course also make use of the Bean-Integration as well.



View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message