camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Camel FTP2 not polling?
Date Tue, 28 Feb 2012 12:20:48 GMT

Try outside OSGi from a plain java application / unit test.

And then you can also enable DEBUG/TRACE logging on the camel-ftp
component and the ftp library itself, to see what it logs.
Camel uses the Apache Commons Net library for the ftp component.

On Mon, Feb 27, 2012 at 11:28 PM, Ellen <> wrote:
> Hi there,
> I'm using Camel 2.6 to poll files from an old Hummingbird ftp server on
> Windows. Unfortunately I'm stuck with this FTP server.
> I can manually connect and login, list files and get files from the default
> directory.
> <endpoint id="myEndpoint"
> uri="ftp://myid@myserver?password=xxxx&amp;ftpClientConfig=#myFtpConfig&amp;doneFileName=done&amp;stepwise=false&amp;delete=true&amp;delay=300000"
> />
> <bean id="myFtpConfig" class="">
>                <constructor-arg value="WINDOWS" />
>                <property name="serverLanguageCode" value="en"/>
> </bean>
> The FTP server dose not support SYST command, so I'm using a ftpClientConfig
> to avoid the call to SYST. Below is the end point and it is referrenced by a
> route.
> However, when using endpoint, all I can see is that it connects and logged
> in fine, then nothing happens and the files are not being polled even though
> the done file is present.  What am I doing wrong here?
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Twitter: davsclaus, fusenews
Author of Camel in Action:

View raw message