Re: SFTP always lists directory

2017-11-01 Thread Claus Ibsen
Hi I logged a ticket to see if we can add support for useList on SFTP consumer as well https://issues.apache.org/jira/browse/CAMEL-11971 Its more tricky so we may or may not be able to do this. On Tue, Oct 31, 2017 at 11:35 AM, Claus Ibsen wrote: > The useList option is not implemented/used for

Re: SFTP always lists directory

2017-10-31 Thread Claus Ibsen
The useList option is not implemented/used for SFTP. Also JCraft library does not allow doing what we useList=false requires which is to create a ChannelSftp.LsEntry entry manually. That class is not public, and hence we cannot do it manually. On Tue, Oct 31, 2017 at 11:24 AM, Krzysztof Hołdano

SFTP always lists directory

2017-10-31 Thread Krzysztof Hołdanowicz
Hi Colleagues, We are using pollEnrich component to download files using SFTP protocol. The problem is that on FTP server there is about 40 thousands of files. Everytime we try to download a file it lists entire root folder and it takes about 40 seconds. I know there are parameters like useList (w