You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "Lutter, Robin" <Ro...@t-systems.com> on 2013/03/06 10:31:03 UTC
Re: Files cannot be moved on FTP
Hi Filippo Balicchia,
i can confirm, that move works with camel-ftp 2.10.4 and apache
ftpserver project on windows maschine with JDK 1.6.0_33.
While running with ftp server under RHEL 6 move failed with errorcode
550. Rename works with commandline.
Logs from ftpserver:
> CWD 20121201000000.OML "550 Failed to change
directory."
> CWD "\"
"550 Failed to change directory."
> CWD \\
"550 Failed to change directory."
> CWD "
"550 Failed to change directory."
Differences in log between 2.10.2 and 2.10.4
2.10.2: 2.10.4
CWD test/success CWD test/success
PWD PWD
CWD / CWD \\
Regards
Robin
Re: Files cannot be moved on FTP
Posted by Claus Ibsen <cl...@gmail.com>.
On Wed, Mar 6, 2013 at 10:31 AM, Lutter, Robin
<Ro...@t-systems.com> wrote:
> Hi Filippo Balicchia,
>
> i can confirm, that move works with camel-ftp 2.10.4 and apache
> ftpserver project on windows maschine with JDK 1.6.0_33.
> While running with ftp server under RHEL 6 move failed with errorcode
> 550. Rename works with commandline.
>
> Logs from ftpserver:
>> CWD 20121201000000.OML "550 Failed to change
> directory."
>> CWD "\"
> "550 Failed to change directory."
>> CWD \\
> "550 Failed to change directory."
>> CWD "
> "550 Failed to change directory."
>
> Differences in log between 2.10.2 and 2.10.4
> 2.10.2: 2.10.4
> CWD test/success CWD test/success
> PWD PWD
> CWD / CWD \\
>
> Regards
> Robin
Are you using the ftp or sftp. Just to be sure which one is being used.
Also you can try setting separator=Unix to tell Camel to use / for
path separators.
--
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen