Grokbase Groups Camel users July 2012
FAQ
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.

Search Discussions

  • Claus Ibsen at Jul 6, 2012 at 10:33 am
    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 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
  • Nafees at Jul 7, 2012 at 7:45 am
    Hi Claus,

    I am extremely thankful to you. It is working fine now. U have helped me
    resolved major problem.

    Thanks

    Nafees

    --
    View this message in context: http://camel.465427.n5.nabble.com/FTP-misses-few-bytes-when-downloading-files-tp5715593p5715646.html
    Sent from the Camel - Users mailing list archive at Nabble.com.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupusers @
categoriescamel
postedJul 6, '12 at 10:26a
activeJul 7, '12 at 7:45a
posts3
users2
websitecamel.apache.org

2 users in discussion

Nafees: 2 posts Claus Ibsen: 1 post

People

Translate

site design / logo © 2022 Grokbase