Hi A remote file is not a java.io.File. Its an instance of the file type the ftp client library uses.
On Fri, Dec 5, 2014 at 6:16 PM, Nicolas74 <nmugn...@gnubila.fr> wrote: > Hi all, > > I'm a little bit confused about ow to use RemoteFile in a processor with the > ftp component. > > I have the following route : > > > > > > In my processor, I really don't know how to proceed to convert, in my > processor, the RemoteFile to a classic File object. > > Any idea ? > > Best regards, > Nicolas. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/ftp-component-RemoteFile-to-a-classic-File-tp5760227.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/