Thanks for the response. I am using camel 2.5 and it does not have stepwise 
option. I tried setting passiveMode and binary but it didn’t help.
I am fairly new to Camel so can you please tell me how to enable the debug 
logging on the camel ftp and file components?

From: Claus Ibsen-2 [via Camel] 
[mailto:ml-node+4744994-2080575733-244...@n5.nabble.com]
Sent: Sunday, August 28, 2011 10:52 PM
To: Jaya Patil
Subject: Re: FTP is not polling the files

Hi

I suggest to enable TRACE/DEBUG logging on the camel ftp and file
components as well as the FTP library (Apache Commons Net) to see what
is going on.

Likewise you may take a look on the FTP server side, to see if there
is any clues from the server logs.

It could be anything from security related, to empty folders, to a
scheduler task not triggering, etc.

There is also the stepwise option you may consider turning on|off. It
influence how Camel traverse the directories.
On some system you must use stepwise=true to be able to do that.

And also passive mode should sometimes be enabled or not.


On Sat, Aug 27, 2011 at 4:40 PM, jdpatil <[hidden 
email]</user/SendEmail.jtp?type=node&node=4744994&i=0>> wrote:

> I am using &between the parameter. I made typo mistake when I was writing the 
> post.
>
> From: Claus Ibsen-2 [via Camel] [mailto:[hidden 
> email]</user/SendEmail.jtp?type=node&node=4744994&i=1>]
> Sent: Saturday, August 27, 2011 1:57 AM
> To: Jaya Patil
> Subject: Re: FTP is not polling the files
>
> Hi
>
> You have 2 times ? in the uri. It should be using a & between the parameters.
>
>
> On Fri, Aug 26, 2011 at 3:35 PM, jdpatil <[hidden 
> email]</user/SendEmail.jtp?type=node&node=4740641&i=0>> wrote:
>
>> I have route
>> <from uri="ftp://user@server/test?password=pass?recursive=true"; />
>> <to 
>> uri="file://C:/home/outfiles<file:///C:\home\outfiles><file:///C:\home\outfiles%3cfile:\C:\home\outfiles%3e>"
>>  />
>>
>> I have some files in test directory but when i start the process it is not
>> downloading the files i get
>>
>> "FtpConsumer   I org.apache.camel.component.file.remote.RemoteFileConsumer
>> connectIfNecessary Connected and logged in to: ftp://user@server:21";
>>
>> I tried seting passiveMode and binaray option.
>>
>> --
>> View this message in context: 
>> http://camel.465427.n5.nabble.com/FTP-is-not-polling-the-files-tp4738079p4738079.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>
>
>
> --
> Claus Ibsen
> -----------------
> FuseSource
> Email: [hidden email]</user/SendEmail.jtp?type=node&node=4740641&i=1>
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.blogspot.com/
> Author of Camel in Action: http://www.manning.com/ibsen/
>
> ________________________________
> If you reply to this email, your message will be added to the discussion 
> below:
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/FTP-is-not-polling-the-files-tp4738079p4741343.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



--
Claus Ibsen
-----------------
FuseSource
Email: [hidden email]</user/SendEmail.jtp?type=node&node=4744994&i=2>
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

________________________________
If you reply to this email, your message will be added to the discussion below:
http://camel.465427.n5.nabble.com/FTP-is-not-polling-the-files-tp4738079p4744994.html
To unsubscribe from FTP is not polling the files, click 
here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4738079&code=amF5YS5wYXRpbEBtY2xhbmVjby5jb218NDczODA3OXwxMzc2MzEyMjQy>.


--
View this message in context: 
http://camel.465427.n5.nabble.com/FTP-is-not-polling-the-files-tp4738079p4747944.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to