I had a look at the File component and it looks like a filter will be added in 2.18 but for now you can implement a filter to only return files based on some criteria. See the section on Filter using org.apache.camel.component.file.GenericFileFilter. There is a good example that shows how to do it. http://camel.apache.org/file2.html
On Thu, Sep 8, 2016 at 9:17 AM, Tomer [via Camel] < ml-node+s465427n5787349...@n5.nabble.com> wrote: > Thanks for the quick feedback > My usecase I need to download from SFTP files but I know only part of the > name , so first I want to get all list of files and do filter by name only > to the files that I need. > > Thanks > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://camel.465427.n5.nabble.com/FTP-Get-list-files-from- > FTP-SFTP-tp5787346p5787349.html > To start a new topic under Camel - Users, email > ml-node+s465427n465428...@n5.nabble.com > To unsubscribe from Camel - Users, click here > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=> > . > NAML > <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://camel.465427.n5.nabble.com/FTP-Get-list-files-from-FTP-SFTP-tp5787346p5787350.html Sent from the Camel - Users mailing list archive at Nabble.com.