On Thu, Jul 22, 2010 at 5:00 PM, Andreas Asmuss <andreasasm...@gmail.com> wrote:
>
> Hi Claus
>
> We're getting closer :)
>
> Now the files are listed correctly at least, but they can't be downloaded.
>
> I'm not sure why this happens - will look into it tommorow unless you have
> an idea.
>

Yeah take a look tomorrow. I wonder if when downloading you need to CD
to the directory first
And then download the file. It will download the file using its absolute name.

But take a look tomorrow, for example you can see the FTP log and try
from a client.
Then figure out when downloading you need to CD <dir> first before you
can do a GET


> The same thing happens if I use my custom ftpClient with camel ftp 2.5
> (which works with camel 2.4)
>
> SEVERE: Caused by:
> [org.apache.camel.component.file.GenericFileOperationFailedException -
> Cannot retrieve file: GenericFile[FILE001] from:
> Endpoint[ftp://myftphost/'SDN.OUT.EDI'?consumer.delay=5s&password=mypw&username=myusr]]
> org.apache.camel.component.file.GenericFileOperationFailedException: Cannot
> retrieve file: GenericFile[FILE001] from:
> Endpoint[ftp://myftphost/'SDN.OUT.EDI'?consumer.delay=5s&password=mypw&username=myusr]
>        at
> org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:295)
>        at
> org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:144)
>        at
> org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:110)
>        at
> org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:98)
>        at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>        at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
>        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
>        at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
>        at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
>        at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>        at java.lang.Thread.run(Thread.java:619)
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/FTP-on-MVS-filesystem-tp1092836p1842392.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

Reply via email to