You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Linus Brimstedt (JIRA)" <ji...@apache.org> on 2012/09/25 08:23:07 UTC
[jira] [Created] (CAMEL-5646) Capture conversation during FTP file
transfer
Linus Brimstedt created CAMEL-5646:
---------------------------------------
Summary: Capture conversation during FTP file transfer
Key: CAMEL-5646
URL: https://issues.apache.org/jira/browse/CAMEL-5646
Project: Camel
Issue Type: Improvement
Components: camel-ftp
Reporter: Linus Brimstedt
Priority: Minor
It would be nice if the FTP conversation (i.e. commands sent and replies received) could be captured with an exchange.
For example, when a file is transferred, it could look like this:
ftp> bin
200 Type set to I.
ftp> get camel.gif
200 PORT command successful.
150 Opening BINARY mode data connection for camel.gif (1337 bytes).
226 Transfer complete.
local: ex.gif remote: camel.gif
1337 bytes received in 0.07 seconds
--
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
[jira] [Commented] (CAMEL-5646) Capture conversation during FTP
file transfer
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465461#comment-13465461 ]
Claus Ibsen commented on CAMEL-5646:
------------------------------------
And how would you capture this? The ftp clients must have an API that offers this functionality.
> Capture conversation during FTP file transfer
> ---------------------------------------------
>
> Key: CAMEL-5646
> URL: https://issues.apache.org/jira/browse/CAMEL-5646
> Project: Camel
> Issue Type: Improvement
> Components: camel-ftp
> Reporter: Linus Brimstedt
> Priority: Minor
> Fix For: Future
>
> Original Estimate: 16h
> Remaining Estimate: 16h
>
> It would be nice if the FTP conversation (i.e. commands sent and replies received) could be captured with an exchange.
> For example, when a file is transferred, it could look like this:
> ftp> bin
> 200 Type set to I.
> ftp> get camel.gif
> 200 PORT command successful.
> 150 Opening BINARY mode data connection for camel.gif (1337 bytes).
> 226 Transfer complete.
> local: ex.gif remote: camel.gif
> 1337 bytes received in 0.07 seconds
--
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
[jira] [Updated] (CAMEL-5646) Capture conversation during FTP file
transfer
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-5646:
-------------------------------
Estimated Complexity: Moderate (was: Unknown)
Remaining Estimate: (was: 16h)
Original Estimate: (was: 16h)
> Capture conversation during FTP file transfer
> ---------------------------------------------
>
> Key: CAMEL-5646
> URL: https://issues.apache.org/jira/browse/CAMEL-5646
> Project: Camel
> Issue Type: Improvement
> Components: camel-ftp
> Reporter: Linus Brimstedt
> Priority: Minor
> Fix For: Future
>
>
> It would be nice if the FTP conversation (i.e. commands sent and replies received) could be captured with an exchange.
> For example, when a file is transferred, it could look like this:
> ftp> bin
> 200 Type set to I.
> ftp> get camel.gif
> 200 PORT command successful.
> 150 Opening BINARY mode data connection for camel.gif (1337 bytes).
> 226 Transfer complete.
> local: ex.gif remote: camel.gif
> 1337 bytes received in 0.07 seconds
--
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
[jira] [Updated] (CAMEL-5646) Capture conversation during FTP file
transfer
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-5646:
-------------------------------
Fix Version/s: Future
Issue Type: New Feature (was: Improvement)
> Capture conversation during FTP file transfer
> ---------------------------------------------
>
> Key: CAMEL-5646
> URL: https://issues.apache.org/jira/browse/CAMEL-5646
> Project: Camel
> Issue Type: New Feature
> Components: camel-ftp
> Reporter: Linus Brimstedt
> Priority: Minor
> Fix For: Future
>
>
> It would be nice if the FTP conversation (i.e. commands sent and replies received) could be captured with an exchange.
> For example, when a file is transferred, it could look like this:
> ftp> bin
> 200 Type set to I.
> ftp> get camel.gif
> 200 PORT command successful.
> 150 Opening BINARY mode data connection for camel.gif (1337 bytes).
> 226 Transfer complete.
> local: ex.gif remote: camel.gif
> 1337 bytes received in 0.07 seconds
--
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
[jira] [Commented] (CAMEL-5646) Capture conversation during FTP
file transfer
Posted by "Linus Brimstedt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462500#comment-13462500 ]
Linus Brimstedt commented on CAMEL-5646:
-----------------------------------------
Yes, sorry I forgot to mention this :-)
But a header where this is stored would work great, and probably there should be a config item if you want it or not.
> Capture conversation during FTP file transfer
> ---------------------------------------------
>
> Key: CAMEL-5646
> URL: https://issues.apache.org/jira/browse/CAMEL-5646
> Project: Camel
> Issue Type: Improvement
> Components: camel-ftp
> Reporter: Linus Brimstedt
> Priority: Minor
> Original Estimate: 16h
> Remaining Estimate: 16h
>
> It would be nice if the FTP conversation (i.e. commands sent and replies received) could be captured with an exchange.
> For example, when a file is transferred, it could look like this:
> ftp> bin
> 200 Type set to I.
> ftp> get camel.gif
> 200 PORT command successful.
> 150 Opening BINARY mode data connection for camel.gif (1337 bytes).
> 226 Transfer complete.
> local: ex.gif remote: camel.gif
> 1337 bytes received in 0.07 seconds
--
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
[jira] [Commented] (CAMEL-5646) Capture conversation during FTP
file transfer
Posted by "Linus Brimstedt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462480#comment-13462480 ]
Linus Brimstedt commented on CAMEL-5646:
-----------------------------------------
The reason is that sometimes you communicate with customer FTP servers or servers that give special responses depending on files transferred. These replies would be nice to save in a storage for later reference when needed.
> Capture conversation during FTP file transfer
> ---------------------------------------------
>
> Key: CAMEL-5646
> URL: https://issues.apache.org/jira/browse/CAMEL-5646
> Project: Camel
> Issue Type: Improvement
> Components: camel-ftp
> Reporter: Linus Brimstedt
> Priority: Minor
> Original Estimate: 16h
> Remaining Estimate: 16h
>
> It would be nice if the FTP conversation (i.e. commands sent and replies received) could be captured with an exchange.
> For example, when a file is transferred, it could look like this:
> ftp> bin
> 200 Type set to I.
> ftp> get camel.gif
> 200 PORT command successful.
> 150 Opening BINARY mode data connection for camel.gif (1337 bytes).
> 226 Transfer complete.
> local: ex.gif remote: camel.gif
> 1337 bytes received in 0.07 seconds
--
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
[jira] [Commented] (CAMEL-5646) Capture conversation during FTP
file transfer
Posted by "Linus Brimstedt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13465470#comment-13465470 ]
Linus Brimstedt commented on CAMEL-5646:
-----------------------------------------
Of course, this would not be available for all different implementations (for example sftp is not even based on text commands).
But for camel-ftp I believe it should be possible using org.apache.commons.net.ProtocolCommandListener
(I did a POF once, and my intentions are still to clean it up and commit, but someone on irc requested more jira tickets to work on, so I submitted this :-)
> Capture conversation during FTP file transfer
> ---------------------------------------------
>
> Key: CAMEL-5646
> URL: https://issues.apache.org/jira/browse/CAMEL-5646
> Project: Camel
> Issue Type: New Feature
> Components: camel-ftp
> Reporter: Linus Brimstedt
> Priority: Minor
> Fix For: Future
>
>
> It would be nice if the FTP conversation (i.e. commands sent and replies received) could be captured with an exchange.
> For example, when a file is transferred, it could look like this:
> ftp> bin
> 200 Type set to I.
> ftp> get camel.gif
> 200 PORT command successful.
> 150 Opening BINARY mode data connection for camel.gif (1337 bytes).
> 226 Transfer complete.
> local: ex.gif remote: camel.gif
> 1337 bytes received in 0.07 seconds
--
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
[jira] [Commented] (CAMEL-5646) Capture conversation during FTP
file transfer
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462499#comment-13462499 ]
Willem Jiang commented on CAMEL-5646:
-------------------------------------
Maybe we can store this kind of information into the out message header.
> Capture conversation during FTP file transfer
> ---------------------------------------------
>
> Key: CAMEL-5646
> URL: https://issues.apache.org/jira/browse/CAMEL-5646
> Project: Camel
> Issue Type: Improvement
> Components: camel-ftp
> Reporter: Linus Brimstedt
> Priority: Minor
> Original Estimate: 16h
> Remaining Estimate: 16h
>
> It would be nice if the FTP conversation (i.e. commands sent and replies received) could be captured with an exchange.
> For example, when a file is transferred, it could look like this:
> ftp> bin
> 200 Type set to I.
> ftp> get camel.gif
> 200 PORT command successful.
> 150 Opening BINARY mode data connection for camel.gif (1337 bytes).
> 226 Transfer complete.
> local: ex.gif remote: camel.gif
> 1337 bytes received in 0.07 seconds
--
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