Hi All,
My route looks like this: <route id="ORDERS"> <from uri="ftp://user@my.server /in/ceva0171?password=secret&doneFileName=${file:name}.sem"/> <to uri="file://data/endpoints/FILE-out"/> </route> Every time a file is copied successfully to the FTP server a file with the same name plus the .sem prefix is added. I expected the above route to copy all the successful files from the FTP server but it doesn't seem to work. I also tried to use doneFileName=done and then I added a filed called "done" to the server but that didn't work either. I see no errors, nothing in the logs to explain it. If I remove doneFileName completely it will copy all the files. All I see in the logs is the following message: 17:47:10,837 | TRACE | .140/in/ceva0171 | FtpConsumer | 77 - org.apache.camel.camel-core - 2.7.1.fuse-00-43 | Skipping done file: GenericFile[DPDN_DELIVERY_DPD_0000424239.TXT.sem] 17:47:10,837 | TRACE | .140/in/ceva0171 | FtpConsumer | 77 - org.apache.camel.camel-core - 2.7.1.fuse-00-43 | File did not match. Will skip this file: GenericFile[DPDN_DELIVERY_DPD_0000424239.TXT.sem] 17:47:10,837 | TRACE | .140/in/ceva0171 | FtpOperations | 215 - org.apache.camel.camel-ftp - 2.7.1.fuse-00-43 | existsFile(in/ceva0171/DPDN_DELIVERY_DPD_0000424240.TXT.sem) 17:47:10,935 | TRACE | .140/in/ceva0171 | FtpConsumer | 77 - org.apache.camel.camel-core - 2.7.1.fuse-00-43 | Done file: in/ceva0171/DPDN_DELIVERY_DPD_0000424240.TXT.sem does not exist 17:47:10,935 | TRACE | .140/in/ceva0171 | FtpConsumer | 77 - org.apache.camel.camel-core - 2.7.1.fuse-00-43 | File did not match. Will skip this file: GenericFile[DPDN_DELIVERY_DPD_0000424240.TXT] 17:47:10,935 | TRACE | .140/in/ceva0171 | FtpConsumer | 77 - org.apache.camel.camel-core - 2.7.1.fuse-00-43 | Skipping done file: GenericFile[DPDN_DELIVERY_DPD_0000424240.TXT.sem] 17:47:10,935 | TRACE | .140/in/ceva0171 | FtpConsumer | 77 - org.apache.camel.camel-core - 2.7.1.fuse-00-43 | File did not match. Will skip this file: GenericFile[DPDN_DELIVERY_DPD_0000424240.TXT.sem] and if I use doneFileName=done I get: 17:34:17,625 | TRACE | .140/in/ceva0171 | FtpConsumer | 77 - org.apache.camel.camel-core - 2.7.1.fuse-00-43 | Done file: in/ceva0171/done does not exist 17:34:17,625 | TRACE | .140/in/ceva0171 | FtpConsumer | 77 - org.apache.camel.camel-core - 2.7.1.fuse-00-43 | File did not match. Will skip this file: GenericFile[DELIVERY_FILE_0000424225.TXT] 17:34:17,625 | TRACE | .140/in/ceva0171 | FtpOperations | 215 - org.apache.camel.camel-ftp - 2.7.1.fuse-00-43 | existsFile(in/ceva0171/done) 17:34:17,720 | TRACE | .140/in/ceva0171 | FtpConsumer | 77 - org.apache.camel.camel-core - 2.7.1.fuse-00-43 | Done file: in/ceva0171/done does not exist 17:34:17,720 | TRACE | .140/in/ceva0171 | FtpConsumer | 77 - org.apache.camel.camel-core - 2.7.1.fuse-00-43 | File did not match. Will skip this file: GenericFile[DELIVERY_FILE_0000424225.TXT.sem] 17:34:17,720 | TRACE | .140/in/ceva0171 | FtpOperations | 215 - org.apache.camel.camel-ftp - 2.7.1.fuse-00-43 | existsFile(in/ceva0171/done) Can anybody tell me why all the files are skipped ? or what do those messages mean ? best regards, Sorin.