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 on MVS filesystem.
Date Wed, 14 Jul 2010 15:38:27 GMT
On Wed, Jul 14, 2010 at 5:34 PM, Andreas Asmuss <andreasasmuss@gmail.com> wrote:
>
> Yeah you're right. I'm reimplementing some old code using Camel and in that
> code FTPClient is used. I missed the fact that you have to do dir /
> listFiles() before you can fetch the files.
>

In Camel 2.4.0 you can use an absolute starting path. Which may work
for you then.
You can test it with the 2.4.0 jars thats currently being tested.

See this link
http://camel.465427.n5.nabble.com/VOTE-Release-Apache-Camel-2-4-0-td1046411.html#a1046411


> The FTP-component doesn't support this - any ideas? :)
>
> Earlier I implemented the .sendSiteCommand by extending FTPClient and
> overriding the login method and doing it from there (as it is needed to be
> done once per login). This is not very pretty though so if you have a better
> idea for a workaround please tell.
> --
> View this message in context: http://camel.465427.n5.nabble.com/FTP-on-MVS-filesystem-tp1092836p1092886.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message