camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: FTP misses few bytes when downloading files
Date Fri, 06 Jul 2012 10:32:16 GMT
Hi

Maybe you need to use binary transfer mode, binary=true
http://camel.apache.org/ftp2

On Fri, Jul 6, 2012 at 10:25 AM, Nafees <s.nafeesunnisa@gmail.com> wrote:
> Hi All,
>
> I am using FTP component to download files from FTP server to my local
> folder, but it is missing 2 bytes of data for few files.
>
> My FTP url will be like this:
> {0}://{1}@{2}/{3}?password={4}&passiveMode={5}&pollStrategy=#optimerPoll&throwExceptionOnConnectFailed=true&maximumReconnectAttempts=1&localWorkDirectory=/tmp&idempotent=true
>
> My File URL is
> {0}://{1}?noop={2}&autoCreate=false
>
>  why it is unable to download files correctly. Please help me out.
>
> Thanks & Regards
> Nafees
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/FTP-misses-few-bytes-when-downloading-files-tp5715593.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message