You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Darren Davison (JIRA)" <ji...@apache.org> on 2010/06/25 14:04:52 UTC

[jira] Commented: (CAMEL-2860) camel-ftp - Should use absolute paths, eg the leading / should always be included

    [ https://issues.apache.org/activemq/browse/CAMEL-2860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60273#action_60273 ] 

Darren Davison commented on CAMEL-2860:
---------------------------------------

I think it's worth pointing out that this must have changed recently as camel-1.6 doesn't exhibit this problem, so the "old" behaviour is the correct behaviour that we should revert to.  

Most FTP clients send absolute paths to the server.  It is the server's responsibility to decide what absolute means (usually a protected FTP root dir is configured in the server and FTP clients cannot escape this regardless of paths used).  If the server allows full f/s access via FTP then that's either up to the server admin or a fault in the FTP server software.  Either way, it should *not* be down to camel-ftp to make unilateral, non-overridable, backwards-incompatible decisions about potential server software configuration.

Personally, I vote for this to be fixed and backported to current production versions.

> camel-ftp - Should use absolute paths, eg the leading / should always be included
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-2860
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2860
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 2.0.0, 2.1.0, 2.2.0, 2.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.4.0
>
>
> FTP Servers expect clients to use absolute paths, so camel-ftp clients should not clip any leading /
> We could consider adding a flag to preserve the old behavior to have people if they rely on the old behavior be able to switch that flag on.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.