You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2008/07/25 09:41:04 UTC
[jira] Created: (CAMEL-758) SFTP Producer - Doesn't handle folder
already exists when trying to create the remote folder
SFTP Producer - Doesn't handle folder already exists when trying to create the remote folder
--------------------------------------------------------------------------------------------
Key: CAMEL-758
URL: https://issues.apache.org/activemq/browse/CAMEL-758
Project: Apache Camel
Issue Type: Bug
Components: camel-ftp
Affects Versions: 1.4.0
Reporter: Claus Ibsen
Fix For: 1.5.0
The SFTP (the secure) has this bug that it doesn't check if the folder already exsits before it tries to create the remote folder.
See nabble:
http://www.nabble.com/SftpProducer-bug-td18640519s22882.html
Bela the reported want to contribute a patch later, or he will be able to test it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-758) SFTP Producer - Doesn't handle folder
already exists when trying to create the remote folder
Posted by "Bela Vizy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44569#action_44569 ]
Bela Vizy commented on CAMEL-758:
---------------------------------
It works only if the last folder is missing. It seems the sftp servers don't create intrermediate folders for you. At least my server doesn't (out of the box Fedora 7). So I think we have to bring back the code to create the folders on by one.
> SFTP Producer - Doesn't handle folder already exists when trying to create the remote folder
> --------------------------------------------------------------------------------------------
>
> Key: CAMEL-758
> URL: https://issues.apache.org/activemq/browse/CAMEL-758
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-ftp
> Affects Versions: 1.4.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 1.5.0
>
>
> The SFTP (the secure) has this bug that it doesn't check if the folder already exsits before it tries to create the remote folder.
> See nabble:
> http://www.nabble.com/SftpProducer-bug-td18640519s22882.html
> Bela the reported want to contribute a patch later, or he will be able to test it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Work started: (CAMEL-758) SFTP Producer - Doesn't handle
folder already exists when trying to create the remote folder
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on CAMEL-758 started by Claus Ibsen.
> SFTP Producer - Doesn't handle folder already exists when trying to create the remote folder
> --------------------------------------------------------------------------------------------
>
> Key: CAMEL-758
> URL: https://issues.apache.org/activemq/browse/CAMEL-758
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-ftp
> Affects Versions: 1.4.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 1.5.0
>
>
> The SFTP (the secure) has this bug that it doesn't check if the folder already exsits before it tries to create the remote folder.
> See nabble:
> http://www.nabble.com/SftpProducer-bug-td18640519s22882.html
> Bela the reported want to contribute a patch later, or he will be able to test it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-758) SFTP Producer - Doesn't handle folder
already exists when trying to create the remote folder
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44573#action_44573 ]
Claus Ibsen commented on CAMEL-758:
-----------------------------------
Just for the record. I made the same code changes for the regular FTP producer as well.
> SFTP Producer - Doesn't handle folder already exists when trying to create the remote folder
> --------------------------------------------------------------------------------------------
>
> Key: CAMEL-758
> URL: https://issues.apache.org/activemq/browse/CAMEL-758
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-ftp
> Affects Versions: 1.4.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 1.5.0
>
> Attachments: patchfile.txt
>
>
> The SFTP (the secure) has this bug that it doesn't check if the folder already exsits before it tries to create the remote folder.
> See nabble:
> http://www.nabble.com/SftpProducer-bug-td18640519s22882.html
> Bela the reported want to contribute a patch later, or he will be able to test it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CAMEL-758) SFTP Producer - Doesn't handle folder
already exists when trying to create the remote folder
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-758.
-------------------------------
Resolution: Fixed
> SFTP Producer - Doesn't handle folder already exists when trying to create the remote folder
> --------------------------------------------------------------------------------------------
>
> Key: CAMEL-758
> URL: https://issues.apache.org/activemq/browse/CAMEL-758
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-ftp
> Affects Versions: 1.4.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 1.5.0
>
> Attachments: patchfile.txt
>
>
> The SFTP (the secure) has this bug that it doesn't check if the folder already exsits before it tries to create the remote folder.
> See nabble:
> http://www.nabble.com/SftpProducer-bug-td18640519s22882.html
> Bela the reported want to contribute a patch later, or he will be able to test it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-758) SFTP Producer - Doesn't handle folder
already exists when trying to create the remote folder
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44533#action_44533 ]
Claus Ibsen commented on CAMEL-758:
-----------------------------------
Remember to check the regular FTP producer as well, it could have similar bug.
> SFTP Producer - Doesn't handle folder already exists when trying to create the remote folder
> --------------------------------------------------------------------------------------------
>
> Key: CAMEL-758
> URL: https://issues.apache.org/activemq/browse/CAMEL-758
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-ftp
> Affects Versions: 1.4.0
> Reporter: Claus Ibsen
> Fix For: 1.5.0
>
>
> The SFTP (the secure) has this bug that it doesn't check if the folder already exsits before it tries to create the remote folder.
> See nabble:
> http://www.nabble.com/SftpProducer-bug-td18640519s22882.html
> Bela the reported want to contribute a patch later, or he will be able to test it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CAMEL-758) SFTP Producer - Doesn't handle folder
already exists when trying to create the remote folder
Posted by "Bela Vizy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bela Vizy updated CAMEL-758:
----------------------------
Attachment: patchfile.txt
SftpProducer patch to fix the folder creation issue.
> SFTP Producer - Doesn't handle folder already exists when trying to create the remote folder
> --------------------------------------------------------------------------------------------
>
> Key: CAMEL-758
> URL: https://issues.apache.org/activemq/browse/CAMEL-758
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-ftp
> Affects Versions: 1.4.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 1.5.0
>
> Attachments: patchfile.txt
>
>
> The SFTP (the secure) has this bug that it doesn't check if the folder already exsits before it tries to create the remote folder.
> See nabble:
> http://www.nabble.com/SftpProducer-bug-td18640519s22882.html
> Bela the reported want to contribute a patch later, or he will be able to test it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (CAMEL-758) SFTP Producer - Doesn't handle folder
already exists when trying to create the remote folder
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-758:
---------------------------------
Assignee: Claus Ibsen
> SFTP Producer - Doesn't handle folder already exists when trying to create the remote folder
> --------------------------------------------------------------------------------------------
>
> Key: CAMEL-758
> URL: https://issues.apache.org/activemq/browse/CAMEL-758
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-ftp
> Affects Versions: 1.4.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 1.5.0
>
>
> The SFTP (the secure) has this bug that it doesn't check if the folder already exsits before it tries to create the remote folder.
> See nabble:
> http://www.nabble.com/SftpProducer-bug-td18640519s22882.html
> Bela the reported want to contribute a patch later, or he will be able to test it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-758) SFTP Producer - Doesn't handle folder
already exists when trying to create the remote folder
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44556#action_44556 ]
Claus Ibsen commented on CAMEL-758:
-----------------------------------
A fix is committed
http://svn.apache.org/viewvc?view=rev&revision=679979
Bela should test it on SFTP.
> SFTP Producer - Doesn't handle folder already exists when trying to create the remote folder
> --------------------------------------------------------------------------------------------
>
> Key: CAMEL-758
> URL: https://issues.apache.org/activemq/browse/CAMEL-758
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-ftp
> Affects Versions: 1.4.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 1.5.0
>
>
> The SFTP (the secure) has this bug that it doesn't check if the folder already exsits before it tries to create the remote folder.
> See nabble:
> http://www.nabble.com/SftpProducer-bug-td18640519s22882.html
> Bela the reported want to contribute a patch later, or he will be able to test it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-758) SFTP Producer - Doesn't handle folder
already exists when trying to create the remote folder
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44572#action_44572 ]
Claus Ibsen commented on CAMEL-758:
-----------------------------------
Applied patch. Thanks Bela.
> SFTP Producer - Doesn't handle folder already exists when trying to create the remote folder
> --------------------------------------------------------------------------------------------
>
> Key: CAMEL-758
> URL: https://issues.apache.org/activemq/browse/CAMEL-758
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-ftp
> Affects Versions: 1.4.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 1.5.0
>
> Attachments: patchfile.txt
>
>
> The SFTP (the secure) has this bug that it doesn't check if the folder already exsits before it tries to create the remote folder.
> See nabble:
> http://www.nabble.com/SftpProducer-bug-td18640519s22882.html
> Bela the reported want to contribute a patch later, or he will be able to test it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.