Claus Ibsen created CAMEL-12127:
-----------------------------------

             Summary: camel-ftp - Add option to turn on logging of transfer 
activity
                 Key: CAMEL-12127
                 URL: https://issues.apache.org/jira/browse/CAMEL-12127
             Project: Camel
          Issue Type: New Feature
          Components: camel-ftp
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.21.0


So you can see how far you have downloaded or uploaded files with the ftp 
component. This does not work with the sftp (ssh ftp).

{code}
2018-01-06 15:08:53,198 [//src/main/data] INFO  FtpOperations                  
- Uploading: bar.xml (chunk: 873, total chunk: 873 bytes)
2018-01-06 15:08:53,211 [//src/main/data] INFO  FtpOperations                  
- Uploading: foo.xml (chunk: 873, total chunk: 873 bytes)
2018-01-06 15:08:53,708 [1000/tmp2/camel] INFO  FtpOperations                  
- Downloading: bar.xml (chunk: 873, total chunk: 873 bytes)
2018-01-06 15:08:53,713 [1000/tmp2/camel] INFO  FtpOperations                  
- Downloading: foo.xml (chunk: 1, total chunk: 1 bytes)
2018-01-06 15:08:53,713 [1000/tmp2/camel] INFO  FtpOperations                  
- Downloading: foo.xml (chunk: 872, total chunk: 873 bytes)
{code}

We can also not see the total size of the file, as the FTP client 
implementation does not provide that detail.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to