marekni wrote: > > In my test method channel.ls(name) for SFTP server takes more less the > same time like channel.ls() >
I have few samples where it takes longer listing the directory, in the end the list of files needs to be sent over TCP the more files you have the longer it will take. marekni wrote: > > The quickest way is to do this in less elegant i think. I f you want to > know if file exist just try to make directory with the same name and look > for results. It require to have write permission on destination folder but > in most cases if we want to store messages such permission we already > have. > I think it is more expensive to raise and handle the exception than listing for a single file. -- View this message in context: http://camel.465427.n5.nabble.com/FTP-component-enhancement-suggestion-tp4692606p4693129.html Sent from the Camel Development mailing list archive at Nabble.com.