On Thu, Sep 29, 2011 at 7:38 AM, lenp
<[email protected]> wrote:
>        FTPClientConfig conf = new FTPClientConfig("L8");
>        conf.setServerLanguageCode("sv");
>        conf.setRecentDateFormatStr("MMM d HH.mm");
>        
> conf.setShortMonthNames("jan|feb|mar|apr|maj|jun|jul|aug|sep|okt|nov|dec");
>        conf.setServerTimeZoneId("Europe/Stockholm");
>
> Server reports as: UNIX Type: L8 Version: BSD-44
>

The FTP component allows you to set a custom FTPClientConfig or
FTPClient in the endpoint uri
http://camel.apache.org/ftp2

from("ftp:xxxx?ftpClientConfig=#myConfig")

And then have a myConfig registered in the registry to the
FTPClientConfig instance.




>
> regards,
>
> /L
>
>
>
> 29 sep 2011 kl. 07:33 skrev Claus Ibsen-2 [via Camel]:
>
>> On Wed, Sep 28, 2011 at 9:20 PM, lenp
>> <[hidden email]> wrote:
>> > Hi again!
>> >
>> > I've been banging my head onto the FtpClientConfig and its possible
>> > configuration with no success. Also doing some testing with pure FtpClient
>> > in commons-net. Seems that I may fall back on creating my own
>> > FTPFileEntryParser - but can I configure the use of such a custom parser 
>> > via
>> > camel endpoint?
>> >
>>
>> How do you configure it in Commons Net?
>>
>>
>> > /L
>> >
>> > --
>> > View this message in context: 
>> > http://camel.465427.n5.nabble.com/FTP2-not-listing-all-files-folders-tp4833608p4850427.html
>> > Sent from the Camel - Users mailing list archive at Nabble.com.
>> >
>>
>>
>>
>> --
>> Claus Ibsen
>> -----------------
>> FuseSource
>> Email: [hidden email]
>> 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/FTP2-not-listing-all-files-folders-tp4833608p4851821.html
>> To unsubscribe from FTP2 not listing all files/folders, click here.
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/FTP2-not-listing-all-files-folders-tp4833608p4851827.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to