Hi everyone,

On our ftp server we have a home directory for every customer where they can
put their files, it look something like this:

ftp-root
  -- 001
      -- 20130905.xml
      -- feedback
          -- feedback_20130903.xml
          -- feedback_20130904.xml
  -- 002
      -- 20130905.xml
      -- feedback
          -- feedback_20130901.xml
...

Every hour we need to:

 1) go into every customer directory (001, 002, ...) and check for files
while skipping subdirectories like the feedback subdirectories in the
structure above

 2) rename the file: 20130905.xml for customer 001 should become
001_20130905.xml and so on

 3) delete the original file from the ftp (I think this can be done by
specifying delete=true)

If someone can put us on the right track for configuring the neccessary
routes and endpoints it would be appreciated.

Cheers,
Tom



--
View this message in context: 
http://camel.465427.n5.nabble.com/Traverse-FTP-tree-tp5738803.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to