[ 
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

Reply via email to