Try setting binary=true http://camel.apache.org/ftp2
On Thu, Jun 9, 2016 at 8:55 AM, farhanrayani <farhan.ray...@flydubai.com> wrote: > Hi Team, > > I am having an issue that when I use camel-ftp transferring txt file from my > local drive to linux machine via sftp it is transferring fine but in [dos] > file format. How can I avoid transferring in [dos] file format. The camel > ftp version which I am using is 2.17.1. > > My pom.xml > > <camel-version>2.17.1</camel-version> > > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-core</artifactId> > <version>${camel-version}</version> > </dependency> > <dependency> > <groupId>org.apache.camel</groupId> > <artifactId>camel-ftp</artifactId> > <version>${camel-version}</version> > </dependency> > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Avoid-file-transferring-in-dos-file-format-in-camel-ftp-tp5783740.html > Sent from the Camel Development mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2