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.
; 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
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.
: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
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
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
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.
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
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
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.
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
>
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
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
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
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.
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
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.
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
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
Endpoint endpoint) throws Exception {
}
public void rollback(GenericFileOperations operations,
GenericFileEndpoint endpoint, Exchange exchange,
GenericFile file) throws Exception {
}
}
--
View this message in context:
http://ca
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.
>
--
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.
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
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.
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
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.
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
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
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-
.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.
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
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
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
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.
34 matches
Mail list logo