I have a route that uploads files in a directory to a remote server. It
determines *what* and *where* to upload at runtime using properties, so it
uses a recipientlist.
from("direct:moveUpload")
.log("@@@ MoveUpload: Using properties: " + propsId)
.from("file://{{move.from.dir}}?noop=true")
.recipientList(simple("ftp://{{move.to.user}}@{{move.to.host}}/{{move.to.dir}}?password={{move.to.pwd}}"))
So it copies all the files in the move.from.dir directory to the server as
expected, but it also creates an empty file
ID-<myserver>-59340-1394036464705-0-1. I don't want this empty file.
>From reading the doc, it would seem to be created by the file component when
CamelFileName is null. But why would any file in this directory be unnamed?
There are no hidden files. All the files are properly transferred, but this
ID- file gets generated and then transferred as well.
How can i prevent ftp from creating that empty ID- file?
thank you.
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-prevent-ftp-from-creating-ID-file-tp5748344.html
Sent from the Camel - Users mailing list archive at Nabble.com.