Claus Ibsen created CAMEL-6582:
----------------------------------

             Summary: camel-ftp - Add support for aborting download/upload if 
stopping
                 Key: CAMEL-6582
                 URL: https://issues.apache.org/jira/browse/CAMEL-6582
             Project: Camel
          Issue Type: New Feature
          Components: camel-ftp
            Reporter: Claus Ibsen
             Fix For: Future


sftp has a listener that supports aborting in a method where you can return 
false.

For regular FTP see SO
http://stackoverflow.com/questions/17109631/apache-commons-net-ftpclient-abort-file-store

Also we should use these listeners so we can log progress. And allow people to 
configure the logging level for the progress. So if they download big files 
they can get a log about the progress. And maybe a threshold for how many bytes 
between to do the logging, eg log every 10mb being downloaded etc.

--
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