Re: FTP on MVS filesystem.

2010-07-23 Thread Andreas Asmuss
Hi Bingo! It works beautifully now :) -- View this message in context: http://camel.465427.n5.nabble.com/FTP-on-MVS-filesystem-tp1092836p1843315.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: FTP on MVS filesystem.

2010-07-23 Thread Claus Ibsen
; get 'SDN.OUT.EDI'/FILE001 > 200 Port request OK. > 550 Mismatched quotes on pathname 'SDN.OUT.EDI'/FILE001 > ftp> get 'SDN.OUT.EDI/FILE001' > 200 Port request OK. > 501 Invalid data set name "'SDN.OUT.EDI/FILE001'".  Use MVS Dsname

Re: FTP on MVS filesystem.

2010-07-23 Thread Andreas Asmuss
uest OK. 550 Mismatched quotes on pathname 'SDN.OUT.EDI'/FILE001 ftp> get 'SDN.OUT.EDI/FILE001' 200 Port request OK. 501 Invalid data set name "'SDN.OUT.EDI/FILE001'". Use MVS Dsname conventions. -- View this message in context: http://camel.465427.n5.nabble.com/FTP-on-MVS-filesystem-tp1092836p1843293.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: FTP on MVS filesystem.

2010-07-22 Thread Claus Ibsen
: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

Re: FTP on MVS filesystem.

2010-07-22 Thread Andreas Asmuss
un(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

Re: FTP on MVS filesystem.

2010-07-22 Thread Claus Ibsen
N.OUT.EDI" is the working directory name prefix. > ftp> ls . > 200 Port request OK. > 550 No data sets found. > ftp> ls > 200 Port request OK. > 125 List started OK > FILE001 > FILE002 > 250 List completed successfully. > ftp: 34 bytes received in 0,00Seconds 1

Re: FTP on MVS filesystem.

2010-07-22 Thread Andreas Asmuss
ta sets found. ftp> ls 200 Port request OK. 125 List started OK FILE001 FILE002 250 List completed successfully. ftp: 34 bytes received in 0,00Seconds 17,00Kbytes/sec. -- View this message in context: http://camel.465427.n5.nabble.com/FTP-on-MVS-filesystem-tp1092836p1835833.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: FTP on MVS filesystem.

2010-07-21 Thread Andreas Asmuss
Hi Yeah I know - didn't have time for it today, just wanted to let you know that it did not work so far. Will debug tomorrow. -- View this message in context: http://camel.465427.n5.nabble.com/FTP-on-MVS-filesystem-tp1092836p1732138.html Sent from the Camel - Users mailing list archi

Re: FTP on MVS filesystem.

2010-07-21 Thread Claus Ibsen
On Wed, Jul 21, 2010 at 2:27 PM, Andreas Asmuss wrote: > > No, it still doesn't work. > -- Its you who got the MVS FTP server so you gotta help and debug the code and see where the problem is. > View this message in context: > http://camel.465427.n5.nabble.com/F

Re: FTP on MVS filesystem.

2010-07-21 Thread Andreas Asmuss
No, it still doesn't work. -- View this message in context: http://camel.465427.n5.nabble.com/FTP-on-MVS-filesystem-tp1092836p1713509.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: FTP on MVS filesystem.

2010-07-21 Thread Claus Ibsen
lly? There is no option. The logic is changed to cd the starting directory and also cd when traversing sub directories. So it ought to do something similar as you do. > -- > View this message in context: > http://camel.465427.n5.nabble.com/FTP-on-MVS-filesystem-tp1092836p1697852.html >

Re: FTP on MVS filesystem.

2010-07-21 Thread Andreas Asmuss
Hi Claus Didn't notice your posts until now. I just tried with the new jar and it didn't work. Is there an "MSV" option that needs to be set or have you just changed the way it works generally? -- View this message in context: http://camel.465427.n5.nabble.com/F

Re: FTP on MVS filesystem.

2010-07-17 Thread Claus Ibsen
time for it. > I am to busy today with other stuff and most likely on monday as well. > > > >> View this message in context: >> http://camel.465427.n5.nabble.com/FTP-on-MVS-filesystem-tp1092836p1224016.html >> Sent from the Camel - Users mailing list archive at Nabble.com

Re: FTP on MVS filesystem.

2010-07-16 Thread Claus Ibsen
stuff and most likely on monday as well. > View this message in context: > http://camel.465427.n5.nabble.com/FTP-on-MVS-filesystem-tp1092836p1224016.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen Apache Camel Committer Autho

Re: FTP on MVS filesystem.

2010-07-16 Thread Andreas Asmuss
Alright thanks. I'll just stick with my ugly but working solution for now. -- View this message in context: http://camel.465427.n5.nabble.com/FTP-on-MVS-filesystem-tp1092836p1224016.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: FTP on MVS filesystem.

2010-07-16 Thread Claus Ibsen
ache/camel/spi/PollingConsumerPollStrategy.html Which is invoked when polling. Its in fact this API used by camel-ftp to do the try 3 times to reconnect. Anyway we will fix the camel-ftp to work in 2.5 with your MVS stuff. > -- > View this message in context: > http://camel.465427.n5.nabble.co

Re: FTP on MVS filesystem.

2010-07-16 Thread Andreas Asmuss
Isn't this strategy first used when the FtpComponent actually has a file to process? -- View this message in context: http://camel.465427.n5.nabble.com/FTP-on-MVS-filesystem-tp1092836p1223990.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: FTP on MVS filesystem.

2010-07-16 Thread Andreas Asmuss
Hi Yeah I know, it also does in my local copy :) - it still doesn't get called though. What about the type I have provided for the generic classes? Should that be FTPFile or RemoteFile or something? -- View this message in context: http://camel.465427.n5.nabble.com/FTP-on-MVS-files

Re: FTP on MVS filesystem.

2010-07-16 Thread Claus Ibsen
llback(GenericFileOperations operations, >                        GenericFileEndpoint endpoint, Exchange exchange, >                        GenericFile file) throws Exception { >        } > } > -- > View this message in context: > http://camel.465427.n5.nabble.com/FTP-on-MVS

Re: FTP on MVS filesystem.

2010-07-16 Thread Andreas Asmuss
Endpoint endpoint) throws Exception { } public void rollback(GenericFileOperations operations, GenericFileEndpoint endpoint, Exchange exchange, GenericFile file) throws Exception { } } -- View this message in context: http://ca

Re: FTP on MVS filesystem.

2010-07-16 Thread Claus Ibsen
e the directory. Its in fact the same operations the camel-ftp component uses when it polls. > View this message in context: > http://camel.465427.n5.nabble.com/FTP-on-MVS-filesystem-tp1092836p1223947.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --

Re: FTP on MVS filesystem.

2010-07-16 Thread Andreas Asmuss
this message in context: http://camel.465427.n5.nabble.com/FTP-on-MVS-filesystem-tp1092836p1223947.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: FTP on MVS filesystem.

2010-07-15 Thread Claus Ibsen
View this message in context: > http://camel.465427.n5.nabble.com/FTP-on-MVS-filesystem-tp1092836p1223526.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 Sourc

Re: FTP on MVS filesystem.

2010-07-15 Thread Andreas Asmuss
ry as parameter. -- View this message in context: http://camel.465427.n5.nabble.com/FTP-on-MVS-filesystem-tp1092836p1223526.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: FTP on MVS filesystem.

2010-07-15 Thread Claus Ibsen
UT.EDI'] > [org.apache.camel.component.file.remote.FtpConsumer]: No files found in > directory: /'DATA.OUT.EDI' > 2010-07-15 14:54:47,728 DEBUG [Camel Thread 0 - > ftp://10.0.0.1//'DATA.OUT.EDI'] > [org.apache.camel.impl.ScheduledPollConsumer]: Finished pol

Re: FTP on MVS filesystem.

2010-07-15 Thread Andreas Asmuss
Endpoint[ftp://10.0.0.1//'DATA.OUT.EDI'?noop=true&password=mypass&username=myuser] -- View this message in context: http://camel.465427.n5.nabble.com/FTP-on-MVS-filesystem-tp1092836p1221569.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: FTP on MVS filesystem.

2010-07-15 Thread Claus Ibsen
ationContext.(ClassPathXmlApplicationContext.java:93) >        at > org.apache.camel.spring.Main.createDefaultApplicationContext(Main.java:219) >        at org.apache.camel.spring.Main.doStart(Main.java:173) >        at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:5

Re: FTP on MVS filesystem.

2010-07-15 Thread Claus Ibsen
7;?noop=true&password=mypass&username=myuser] > [org.apache.camel.impl.ScheduledPollConsumer]: Finished polling: > Endpoint[ftp://10.0.0.1/'DATA.OUT.EDI'?noop=true&password=mypass&username=myuser] > > I'll try with 2.4.0. But what does absolute path mean

Re: FTP on MVS filesystem.

2010-07-15 Thread Andreas Asmuss
at org.apache.camel.spring.Main.doStart(Main.java:173) at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:56) at dk.profac.isuiteclient.StartUp.main(StartUp.java:38) -- View this message in context: http://camel.465427.n5.nabble.com/FTP-on-MVS-

Re: FTP on MVS filesystem.

2010-07-15 Thread Andreas Asmuss
.impl.ScheduledPollConsumer]: Finished polling: Endpoint[ftp://10.0.0.1/'DATA.OUT.EDI'?noop=true&password=mypass&username=myuser] I'll try with 2.4.0. But what does absolute path mean in this case - the local "physical" path of the ftp-server? -- View this message in context: http://camel.465427.n5.nabble.com/FTP-on-MVS-filesystem-tp1092836p1196921.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: FTP on MVS filesystem.

2010-07-14 Thread Claus Ibsen
iew 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/i

Re: FTP on MVS filesystem.

2010-07-14 Thread Andreas Asmuss
dSiteCommand 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

Re: FTP on MVS filesystem.

2010-07-14 Thread Claus Ibsen
h works. But it shouldn't really be a problem for Camel to poll the > right directory even if given in MVS format as it just uses FTPClient and > does a changeWorkdirectory? > -- > View this message in context: > http://camel.465427.n5.nabble.com/FTP-on-MVS-filesystem-tp1

FTP on MVS filesystem.

2010-07-14 Thread Andreas Asmuss
a changeWorkdirectory? -- View this message in context: http://camel.465427.n5.nabble.com/FTP-on-MVS-filesystem-tp1092836p1092836.html Sent from the Camel - Users mailing list archive at Nabble.com.