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/06/03 05:58:00 UTC

[jira] Created: (CAMEL-570) FTPComponent - Add delete/move operation

FTPComponent - Add delete/move operation
----------------------------------------

                 Key: CAMEL-570
                 URL: https://issues.apache.org/activemq/browse/CAMEL-570
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 1.3.0
            Reporter: Claus Ibsen


The FTP Component currently does not support an after completion operation such as:
- delete
- move
of the processed file as the File Component does.

ServiceMix FTP Component has such feature.

See forum:
http://www.nabble.com/No-way-to-remove-FTP-SFTP-files--td17612896s22882.html

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


[jira] Work stopped: (CAMEL-570) FTPComponent - Add delete/move operation

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

Work on CAMEL-570 stopped by Claus Ibsen.

> FTPComponent - Add delete/move operation
> ----------------------------------------
>
>                 Key: CAMEL-570
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-570
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>         Attachments: CAMEL-570.zip
>
>
> The FTP Component currently does not support an after completion operation such as:
> - delete
> - move
> of the processed file as the File Component does.
> ServiceMix FTP Component has such feature.
> See forum:
> http://www.nabble.com/No-way-to-remove-FTP-SFTP-files--td17612896s22882.html

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


[jira] Resolved: (CAMEL-570) FTPComponent - Add delete/move operation

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

Claus Ibsen resolved CAMEL-570.
-------------------------------

    Resolution: Fixed

Added the deleteFile option.

Committed revision 680011.

> FTPComponent - Add delete/move operation
> ----------------------------------------
>
>                 Key: CAMEL-570
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-570
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>         Attachments: CAMEL-570.zip
>
>
> The FTP Component currently does not support an after completion operation such as:
> - delete
> - move
> of the processed file as the File Component does.
> ServiceMix FTP Component has such feature.
> See forum:
> http://www.nabble.com/No-way-to-remove-FTP-SFTP-files--td17612896s22882.html

-- 
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-570) FTPComponent - Add delete/move operation

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

Work on CAMEL-570 started by Claus Ibsen.

> FTPComponent - Add delete/move operation
> ----------------------------------------
>
>                 Key: CAMEL-570
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-570
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>
> The FTP Component currently does not support an after completion operation such as:
> - delete
> - move
> of the processed file as the File Component does.
> ServiceMix FTP Component has such feature.
> See forum:
> http://www.nabble.com/No-way-to-remove-FTP-SFTP-files--td17612896s22882.html

-- 
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-570) FTPComponent - Add delete/move operation

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

Work on CAMEL-570 started by Claus Ibsen.

> FTPComponent - Add delete/move operation
> ----------------------------------------
>
>                 Key: CAMEL-570
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-570
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>         Attachments: CAMEL-570.zip
>
>
> The FTP Component currently does not support an after completion operation such as:
> - delete
> - move
> of the processed file as the File Component does.
> ServiceMix FTP Component has such feature.
> See forum:
> http://www.nabble.com/No-way-to-remove-FTP-SFTP-files--td17612896s22882.html

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


[jira] Commented: (CAMEL-570) FTPComponent - Add delete/move operation

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43875#action_43875 ] 

Claus Ibsen commented on CAMEL-570:
-----------------------------------

Will work on this after Camel 1.4.0 has been released.

There is also a few other tickets for FTP and File related issues that should be a major target for Camel 1.5 to improve these two important components so Camel works even better with FTP and files.

Beware of commons FTP potential problem with listing files on AIX servers. We did see this problem with 1.4.1 today at work.

> FTPComponent - Add delete/move operation
> ----------------------------------------
>
>                 Key: CAMEL-570
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-570
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>         Attachments: CAMEL-570.zip
>
>
> The FTP Component currently does not support an after completion operation such as:
> - delete
> - move
> of the processed file as the File Component does.
> ServiceMix FTP Component has such feature.
> See forum:
> http://www.nabble.com/No-way-to-remove-FTP-SFTP-files--td17612896s22882.html

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


[jira] Assigned: (CAMEL-570) FTPComponent - Add delete/move operation

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

Claus Ibsen reassigned CAMEL-570:
---------------------------------

    Assignee: Claus Ibsen

> FTPComponent - Add delete/move operation
> ----------------------------------------
>
>                 Key: CAMEL-570
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-570
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>
> The FTP Component currently does not support an after completion operation such as:
> - delete
> - move
> of the processed file as the File Component does.
> ServiceMix FTP Component has such feature.
> See forum:
> http://www.nabble.com/No-way-to-remove-FTP-SFTP-files--td17612896s22882.html

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


[jira] Updated: (CAMEL-570) FTPComponent - Add delete/move operation

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

Drew McAuliffe updated CAMEL-570:
---------------------------------

    Attachment: CAMEL-570.zip

Changed the FTPConsumer and the SFTPConsumer to add an "autoDelete" property that will delete files once processed. A couple of notes:
1. The change includes an update to RemoteFileConfiguration, to provide the "autoDelete" property.
2. The code is based on how the fileConsumer works; namely, it handles the read in an async block rather than the way that the files are handled in the current versions of the consumers.
3. I believe I incorporated a recent change to the 1.4 stream related to error processing; files before weren't getting read if there was an error. I think this was actually a problem in the FileConsumer.
4. Using autodelete bypasses the timestamp check. No need to timestamp check if you're just going to delete everything you read.

So far these changes are working on our project. We use SFTP to pull files down into a local directory, then a file consumer to read them in from there. This gives us the ability to create backups of what was read, something that the FTP/SFTP consumers don't currently allow.

I've said this before and I'll say it again; this would all be a lot easier if there were just one VFS component....

> FTPComponent - Add delete/move operation
> ----------------------------------------
>
>                 Key: CAMEL-570
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-570
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>         Attachments: CAMEL-570.zip
>
>
> The FTP Component currently does not support an after completion operation such as:
> - delete
> - move
> of the processed file as the File Component does.
> ServiceMix FTP Component has such feature.
> See forum:
> http://www.nabble.com/No-way-to-remove-FTP-SFTP-files--td17612896s22882.html

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


[jira] Commented: (CAMEL-570) FTPComponent - Add delete/move operation

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43284#action_43284 ] 

Claus Ibsen commented on CAMEL-570:
-----------------------------------

Drew is working on this. See the user forum.

> FTPComponent - Add delete/move operation
> ----------------------------------------
>
>                 Key: CAMEL-570
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-570
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>
> The FTP Component currently does not support an after completion operation such as:
> - delete
> - move
> of the processed file as the File Component does.
> ServiceMix FTP Component has such feature.
> See forum:
> http://www.nabble.com/No-way-to-remove-FTP-SFTP-files--td17612896s22882.html

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


[jira] Commented: (CAMEL-570) FTPComponent - Add delete/move operation

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44563#action_44563 ] 

Claus Ibsen commented on CAMEL-570:
-----------------------------------

ServiceMix has a delete option only:
http://servicemix.apache.org/servicemix-ftp.html

I think we will stick with the delete option for now and let the move go. If anyone want a move option then please create a new issue and vote.

> FTPComponent - Add delete/move operation
> ----------------------------------------
>
>                 Key: CAMEL-570
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-570
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.3.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>         Attachments: CAMEL-570.zip
>
>
> The FTP Component currently does not support an after completion operation such as:
> - delete
> - move
> of the processed file as the File Component does.
> ServiceMix FTP Component has such feature.
> See forum:
> http://www.nabble.com/No-way-to-remove-FTP-SFTP-files--td17612896s22882.html

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