Five Stars

ESB & cFtp parameters

Hello,

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)

.job.PNGconfig1.PNG

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 '192.168.2.10' (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

1 REPLY
Five Stars

Re: ESB & cFtp parameters

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

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

 

Thanks