Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-12127

camel-ftp - Add option to turn on logging of transfer activity

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.21.0
    • Component/s: camel-ftp
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

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

      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)
      

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

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: