Five Stars

ESB & cFtp parameters


I need some help ...

I don't understand how work cFtp component with "include" parameter, so i made a simple route with a parameter in advanced settings (cFtp)

"include"   with value "PTPCDE0103*\\.txt" (below my simple route)


In the console panel, i have :

Démarrage du job FTP a 15:20 18/04/2017.
[statistics] connecting to socket on port 3535
[statistics] connected
[WARN ]: org.apache.camel.component.file.remote.SftpOperations - JSCH -> Permanently added '' (RSA) to the list of known hosts.


I don't understand, in the remote directory i have many files which begin by "PTPCDE0103"

Thanks for your help

Five Stars

Re: ESB & cFtp parameters

I have found my error, i forgot a dit before the star

include  -> "PTPCDE0103.*\\.txt"