Hi Everyoune,

I configure my route like this:

from("ftp://username@host/IN?passiveMode=true&localWorkDirectory=C:/tmp&password=xxxxxx&include=DDT_DA_SAP_[0-9]{8}_[0-9]{6}.txt&readLock=changed&maxMessagesPerPoll=1&charset=iso-8859-1";)
                                .id("FileReader")
                                .split().tokenize("\n", 1000).streaming()       
                        
                                .log("${body}")
                                .to("seda:grouped")
                                .end();

in log file, I see this and no content:
-rw-r--r-- 1 ftp ftp        6070120 May 13 10:16
DDT_DA_SAP_20151123_123003.txt

Please help me.

Thanks in advance

Best Regards
Michele



--
View this message in context: 
http://camel.465427.n5.nabble.com/FTP-Consumer-has-strange-behaviour-tp5782537.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to