Hello,

I'm using camel-2.11.0 with camel ftp for a route and I'm hitting the
Change directory bug, but only when I'm writing to FTP. I'm using
vsftpd_3.0.2-3_amd64.deb on Debian Wheezy.

The route is:
              
from("ftp://localhost/in?username=source-of-files&password=pass&stepwise=false&binary=true&idempotent=true";)

.to("ftp://localhost/out?username=target-of-files&password=pass";);

 I've enabled logging on the FTP server and it seems it has a strange
behavior: it does an extra Change Working Directory. I tried with
using stepwise but with no success.

Using stepwise=false;

Thu May  9 14:21:02 2013 [pid 3] [target-of-files] FTP command: Client
"127.0.0.1", "TYPE A"
Thu May  9 14:21:02 2013 [pid 3] [target-of-files] FTP response:
Client "127.0.0.1", "200 Switching to ASCII mode."
Thu May  9 14:21:02 2013 [pid 3] [target-of-files] FTP command: Client
"127.0.0.1", "PWD"
Thu May  9 14:21:02 2013 [pid 3] [target-of-files] FTP response:
Client "127.0.0.1", "257 "/home/target-of-files""
Thu May  9 14:21:02 2013 [pid 3] [target-of-files] FTP command: Client
"127.0.0.1", "CWD out"
Thu May  9 14:21:02 2013 [pid 3] [target-of-files] FTP response:
Client "127.0.0.1", "250 Directory successfully changed."
Thu May  9 14:21:02 2013 [pid 3] [target-of-files] FTP command: Client
"127.0.0.1", "CWD "/home/target-of-files""
Thu May  9 14:21:02 2013 [pid 3] [target-of-files] FTP response:
Client "127.0.0.1", "550 Failed to change directory."
Thu May  9 14:21:02 2013 [pid 3] [target-of-files] FTP command: Client
"127.0.0.1", "QUIT"

Using stepwise=true;

Thu May  9 14:21:18 2013 [pid 3] [target-of-files] FTP response:
Client "127.0.0.1", "230 Login successful."
Thu May  9 14:21:18 2013 [pid 3] [target-of-files] FTP command: Client
"127.0.0.1", "TYPE A"
Thu May  9 14:21:18 2013 [pid 3] [target-of-files] FTP response:
Client "127.0.0.1", "200 Switching to ASCII mode."
Thu May  9 14:21:18 2013 [pid 3] [target-of-files] FTP command: Client
"127.0.0.1", "PWD"
Thu May  9 14:21:18 2013 [pid 3] [target-of-files] FTP response:
Client "127.0.0.1", "257 "/home/target-of-files""
Thu May  9 14:21:18 2013 [pid 3] [target-of-files] FTP command: Client
"127.0.0.1", "CWD out"
Thu May  9 14:21:18 2013 [pid 3] [target-of-files] FTP response:
Client "127.0.0.1", "250 Directory successfully changed."
Thu May  9 14:21:18 2013 [pid 3] [target-of-files] FTP command: Client
"127.0.0.1", "CWD ""
Thu May  9 14:21:18 2013 [pid 3] [target-of-files] FTP response:
Client "127.0.0.1", "550 Failed to change directory."
Thu May  9 14:21:18 2013 [pid 3] [target-of-files] FTP command: Client
"127.0.0.1", "QUIT"

I also attached the log file, I hope it doesn't get filtered out. Can
anybody confirm this and suggest a solution?

Thanks,

--
Ioan Eugen Stan
0720 898 747

Reply via email to