Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 43FFFCF16 for ; Mon, 29 Jul 2013 13:15:49 +0000 (UTC) Received: (qmail 27875 invoked by uid 500); 29 Jul 2013 13:15:49 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 27812 invoked by uid 500); 29 Jul 2013 13:15:49 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 27798 invoked by uid 99); 29 Jul 2013 13:15:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jul 2013 13:15:49 +0000 Date: Mon, 29 Jul 2013 13:15:49 +0000 (UTC) From: "Bengt Rodehav (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-6335) Sftp cannot change to parent directory in a stepwise fashion MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-6335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13722438#comment-13722438 ] Bengt Rodehav commented on CAMEL-6335: -------------------------------------- Just back from vacation will test as soon as I can. > Sftp cannot change to parent directory in a stepwise fashion > ------------------------------------------------------------ > > Key: CAMEL-6335 > URL: https://issues.apache.org/jira/browse/CAMEL-6335 > Project: Camel > Issue Type: Bug > Components: camel-ftp > Affects Versions: 2.9.4, 2.9.5, 2.9.6, 2.9.7, 2.10.2, 2.10.3, 2.10.4, 2.11.0 > Reporter: Bengt Rodehav > Assignee: Aki Yoshida > Attachments: SftpOperations.java.patch > > > The problem occurs when using the sftp protocol with the stepwise option enabled and when polling a subdirectory. > When Camel has finished polling the subdirectory, it attempts to change directory back to the home directory in a stepwise fashion: Doing "cd .." one step at a time. This logic has a bug that causes it to try to change to a non-existing directory. > This has been discussed on the user mailing list: > http://mail-archives.apache.org/mod_mbox/camel-users/201305.mbox/%3CCAJ0TPGJ6gdaEuYgjpKG42HR-ozbyC0e5Z=mi2xRDmnonBtY0Eg@mail.gmail.com%3E -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira