Looks like the same bug I found for sftp: https://issues.apache.org/jira/browse/CAMEL-6309
/Bengt 2013/5/8 Lutter, Robin <robin.lut...@t-systems.com> > Hi, > > > > After changing from an old 2.10.5-SNAPSHOT to Camel 2.11.0 > (-20130315.195808-8) following error appears: > > > > TRACE org.apache.camel.component.file.remote.FtpOperations - listFiles() > > TRACE org.apache.camel.component.file.remote.FtpConsumer - Found 4 in > directory: test/junit > > TRACE org.apache.camel.component.file.remote.FtpConsumer - > FtpFile[name=FILE1.file1, dir=false, file=true] > > TRACE org.apache.camel.component.file.remote.FtpConsumer - > FtpFile[name=FILE2.file2, dir=false, file=true] > > TRACE org.apache.camel.component.file.remote.FtpConsumer - File did not > match. Will skip this file: RemoteFile[FILE2.file2] > > TRACE org.apache.camel.component.file.remote.FtpConsumer - > FtpFile[name=FILE3.file2, dir=false, file=true] > > TRACE org.apache.camel.component.file.remote.FtpConsumer - File did not > match. Will skip this file: RemoteFile[FILE3.file2] > > TRACE org.apache.camel.component.file.remote.FtpConsumer - > FtpFile[name=ftpmove, dir=true, file=false] > > TRACE org.apache.camel.component.file.remote.FtpOperations - > changeCurrentDirectory("/") > > TRACE org.apache.camel.component.file.remote.FtpOperations - Changing > directory: " > > > > org.apache.camel.component.file.GenericFileOperationFailedException: > File operation failed: 550 Failed to change directory. > > Cannot change directory to: ". Code: 550 > > at > org.apache.camel.component.file.remote.FtpOperations.doChangeDirectory(F > tpOperations.java:748) > > at > org.apache.camel.component.file.remote.FtpOperations.changeCurrentDirect > ory(FtpOperations.java:726) > > > > Route is as following: > Endpoint[ftp://ftpserver:21/test/junit/?delay=2147483647&directoryMustEx > ist=true&eagerMaxMessagesPerPoll=false&fileName=FILE1.file1&maxMessagesP > erPoll=0&maximumReconnectAttempts=0&passiveMode=true&password=******&sen > dEmptyMessageWhenIdle=true&separator=UNIX&sortBy=file%3Amodified&stepwis > e=true&useFixedDelay=false&username=test] > > > > In FTPConsumer.pollDirectory currentDir is quoted twice: ""/"" > > > > Client is running with Win7 JDK1.6, remote server is running under > linux. > > > > Regards > > Robin Lutter > > > >