You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Chris Custine (JIRA)" <ji...@apache.org> on 2008/03/07 00:10:35 UTC

[jira] Created: (CAMEL-370) SftpConsumer is not connecting and retrieving remote files

SftpConsumer is not connecting and retrieving remote files
----------------------------------------------------------

                 Key: CAMEL-370
                 URL: https://issues.apache.org/activemq/browse/CAMEL-370
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-ftp
    Affects Versions: 1.3.0
            Reporter: Chris Custine
            Priority: Minor


SftpConsumer does not connect to server due to patch for CAMEL-251.  The SftpConsumer also checks remote file modification timestamp against last poll timestamp but incorrectly converts seconds to milliseconds using integer math so the resulting conversion is always negative and will never retrieve file.  I will attach the fixes to this issue.

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


[jira] Assigned: (CAMEL-370) SftpConsumer is not connecting and retrieving remote files

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hadrian Zbarcea reassigned CAMEL-370:
-------------------------------------

    Assignee: Hadrian Zbarcea

> SftpConsumer is not connecting and retrieving remote files
> ----------------------------------------------------------
>
>                 Key: CAMEL-370
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-370
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 1.3.0
>            Reporter: Chris Custine
>            Assignee: Hadrian Zbarcea
>            Priority: Minor
>         Attachments: CAMEL-370.patch
>
>
> SftpConsumer does not connect to server due to patch for CAMEL-251.  The SftpConsumer also checks remote file modification timestamp against last poll timestamp but incorrectly converts seconds to milliseconds using integer math so the resulting conversion is always negative and will never retrieve file.  I will attach the fixes to this issue.

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


[jira] Updated: (CAMEL-370) SftpConsumer is not connecting and retrieving remote files

Posted by "Chris Custine (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Custine updated CAMEL-370:
--------------------------------

    Attachment: CAMEL-370.patch

This patch fixes these issues and also reduces the log level on reconnects from WARN to INFO since this will happen on the first connection attempt every time and is normal behavior.  I also removed the TODO comments about checking TZ on the remote server because the SSH FTP spec already specifies UTC.

> SftpConsumer is not connecting and retrieving remote files
> ----------------------------------------------------------
>
>                 Key: CAMEL-370
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-370
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 1.3.0
>            Reporter: Chris Custine
>            Priority: Minor
>         Attachments: CAMEL-370.patch
>
>
> SftpConsumer does not connect to server due to patch for CAMEL-251.  The SftpConsumer also checks remote file modification timestamp against last poll timestamp but incorrectly converts seconds to milliseconds using integer math so the resulting conversion is always negative and will never retrieve file.  I will attach the fixes to this issue.

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


[jira] Resolved: (CAMEL-370) SftpConsumer is not connecting and retrieving remote files

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hadrian Zbarcea resolved CAMEL-370.
-----------------------------------

    Fix Version/s: 1.3.0
       Resolution: Fixed

Thanks Chris!

> SftpConsumer is not connecting and retrieving remote files
> ----------------------------------------------------------
>
>                 Key: CAMEL-370
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-370
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-ftp
>    Affects Versions: 1.3.0
>            Reporter: Chris Custine
>            Assignee: Hadrian Zbarcea
>            Priority: Minor
>             Fix For: 1.3.0
>
>         Attachments: CAMEL-370.patch
>
>
> SftpConsumer does not connect to server due to patch for CAMEL-251.  The SftpConsumer also checks remote file modification timestamp against last poll timestamp but incorrectly converts seconds to milliseconds using integer math so the resulting conversion is always negative and will never retrieve file.  I will attach the fixes to this issue.

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