camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siano, Stephan" <stephan.si...@sap.com>
Subject RE: Avoid file transferring in [dos] file format in camel-ftp
Date Thu, 09 Jun 2016 12:53:28 GMT
Hi,

I guess, your problem is different: The file is already containing DOS CRs and you want to
convert it to UNIX linefeeds. It may work if you set binary to false (this should at least
work for FTP), but AFAIK unlike for FTP, for SFTP the binary (and also the passive) parameters
do not do anything because the underlying protocol does not support this (and passive does
not make sense at all for SFTP as unlike FTP there is never a separate control and data channel).

Best regards
Stephan

-----Original Message-----
From: farhanrayani [mailto:farhan.rayani@flydubai.com] 
Sent: Donnerstag, 9. Juni 2016 09:19
To: dev@camel.apache.org
Subject: Re: Avoid file transferring in [dos] file format in camel-ftp

Hi Claus,

I am using this configuration still facing the same issue. Kindly see the
configuration which I used


ftp.source=file:Z:/test?recursive=true&move=.camel&moveFailed=.error&delay=1m

ftp.destination=sftp://flydubai@10.1.18.97/smartrez/connection?recursive=true&password=$ta*pm1Dt&passiveMode=false&maximumReconnectAttempts=3&binary=true
	



--
View this message in context: http://camel.465427.n5.nabble.com/Avoid-file-transferring-in-dos-file-format-in-camel-ftp-tp5783740p5783743.html
Sent from the Camel Development mailing list archive at Nabble.com.

Mime
View raw message