[ 
https://issues.apache.org/jira/browse/CAMEL-5512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13435895#comment-13435895
 ] 

Claus Ibsen commented on CAMEL-5512:
------------------------------------

You can now enable the option {{fastExistsCheck=true}} to make the 
{{readLock=changed}} go faster as well, as it will do a LIST operation with the 
file name to filter out and only select the single file. This should run faster 
on FTP servers in case it has a lot of files in a directory. Notice that the 
FTP server many not support this LIST operation with a file name, so you may 
have to revert back and disable the {{fastExistsCheck}} option.
                
> camel-ftp - Improve readlock changed to use fine grained API to get file 
> details
> --------------------------------------------------------------------------------
>
>                 Key: CAMEL-5512
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5512
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-ftp
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.11.0
>
>
> If you have a dir with a lot of files, then we are currently doing a LS each 
> time. 
> We should try to use the fine grained API from the ftp clients to get file 
> size / timestamp when applicable.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to