[
https://issues.apache.org/jira/browse/CAMEL-13017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Önder Sezgin resolved CAMEL-13017.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.23.1
2.24.0
2.22.3
> root-Path handling for SFTP on windows bug
> ------------------------------------------
>
> Key: CAMEL-13017
> URL: https://issues.apache.org/jira/browse/CAMEL-13017
> Project: Camel
> Issue Type: Bug
> Components: camel-ftp
> Affects Versions: 2.23.0
> Environment: 2.23.0 / executing on windows jdk8 / remote sftp server
> linux
>
> Reporter: Jens Kleemann
> Assignee: Önder Sezgin
> Priority: Major
> Fix For: 2.22.3, 2.24.0, 2.23.1
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In SftpOperations.java the commit 0d3612672f2927d0428c2b79686759c16be88791
> has introduced a remoting bug when running on windows and connecting to sftp
> server.
> If the sfpt/camel is running on windows, then it assumes that the path
> include a "root-path" like "C://" which is not necessarily true for sftp
> connections.
> So instead of "/" it creates a root path of "/hom" when working with an sftp
> path like "/home/jkleemann/transfer/....:" and fails when trying to change
> directory to this root path.
> see
> [https://github.com/apache/camel/commit/0d3612672f2927d0428c2b79686759c16be88791]
> for the changes
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)