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

doneFileName=${file:name} don't work with ftp component

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 2.11.1
    • 2.12.0
    • camel-ftp
    • None
    • Unknown

    Description

      I tried to write a file on a ftp server using a done file to signal the end of the file transmission. I guess the file/ftp component preserves the doneFileName option. But the ftp component doesn't replace the doneFileName=${file:name} correctly.

      My fpt endpoint looks like this:

      .to(ftp:myuser@myserver/mypath?doneFileName=${file:name}.done&charset=utf-8&password={{ftp.passwd}})
      
      

      But the route generates only a file with name name.done

      I also tried the option stepwise=false as described here http://camel.465427.n5.nabble.com/doneFileName-doesn-t-seem-to-work-td4704701.html. With the same result.

      I also test this option with the file component and it works.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            sbollweber Steffen Bollweber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: