What version of Camel do you use? You may need to upgrade to have support for append
On Tue, Mar 24, 2015 at 8:27 PM, jamiro <dirk.rosem...@uv.ruhr-uni-bochum.de> wrote: > I want to achieve the following producer endpoint behaviour with FILE/FTP > component: > > step #1: upload to myfile.tmp (if it's already there: append to it) > step #2: try to rename myfile.tmp to myfile.dat when done (ignoring any > errors if myfile.dat already exists) > > I tried with configuration > fileName=myfile.dat&fileExist=Append&tempFileName=myfile.tmp > I expected myfile.dat would contain the first upload, subsequent uploads to > be appended to .tmp file > but myfile.dat is overwritten on every upload. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/setup-FTP-producer-scenario-tp5764713.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/