[
https://issues.apache.org/jira/browse/CAMEL-8844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Grzegorz Grzybek resolved CAMEL-8844.
-------------------------------------
Resolution: Fixed
Resolved
[here|https://github.com/apache/camel/commit/ca6d74205815269b7b3caf32ca57cb73c1a7299a]
in version 2.16.
> Treat absolute FTP directories as invalid and convert to relative
> -----------------------------------------------------------------
>
> Key: CAMEL-8844
> URL: https://issues.apache.org/jira/browse/CAMEL-8844
> Project: Camel
> Issue Type: Improvement
> Components: camel-ftp
> Affects Versions: 2.15.2
> Reporter: Grzegorz Grzybek
> Assignee: Grzegorz Grzybek
> Fix For: 2.16.0
>
>
> Currently there are issues when directory in (s)ftp(s) endpoint is absolute
> (or contains arbitrary number of leading slashes). Sometimes the path is
> normalized, sometimes don't and camel-ftp code can't find correct prefix in
> _absolute_ path when retrieving remote file.
> [Documentation says|http://camel.apache.org/ftp2.html]:
> bq. Absolute path is not supported.
> I suggest normalizing the behavior and treating absolute FTP endpoint URI
> directories as relative. When URI contains absolute path, WARNing will be
> printed:
> {noformat}
> 2015-06-08 09:52:41,304 [main ] WARN FtpUtils
> - FtpComponent doesn't support absolute paths, "//foo" will be converted to
> "foo".
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)