ftp_context.addRoutes(new RouteBuilder() {
                        public void configure() {
                                Processor ftpProcessor = new Processor() {
                                        public void process(Exchange e) {
                                                Message inboundMessage = 
e.getIn();
                                                
System.out.println(inboundMessage.getBody(String.class));
                                                
from(inboundMessage.getBody(String.class)).to(
                                                                
"file:src/temp");
                                        }
                                };

                                // System.out.println(path);
                                // from(path).to("file:src/temp");//we must 
require temp
                                // directory in src folder project
                                // 
ftp://cuboidology8@127.1.2.3:21/src?password=cuboidology8?noop=true
                                from("seda:ftpProcessor").process(ftpProcessor);
                        }

                });



i am not able to download the file from ftp....can anyone help me out
pleasee??? here string
ftp://127.1.1.1/src?password=&fileName=comma.txt&noop=true
 is working but still we are not able to get the file :( :(



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-process-tp5733662p5733688.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to