It appears not to be camel related: - The problem now appears to be with the FTP Server's authentication modules (Linux/Windows issue). Manual ftp is also failing in a similar manner. An initial manual ftp's appeared to work for reasons unknown and now un-reproducible.
- %40 is required; Camel will work with %40 (not @) in the form of : ftp://user%40extra@host/. Looking into the ftp RFC it appears that any special symbols such as @ in the username have to be escaped. On Fri, Nov 4, 2011 at 2:54 AM, Claus Ibsen <claus.ib...@gmail.com> wrote: > Hi > > Instead of using the user info in the uri, then you can use the > username and password options. > > ftp:hostname?username=foo@bar&password=secret > > > > On Thu, Nov 3, 2011 at 7:36 PM, Craig Taylor <ctalk...@ctalkobt.net> wrote: >> I'm trying to connect to hosta.mydomain.com with a username of >> user@othername and password of password. >> >> FTP2 is failing miserably with a >> org.apache.camel.FailedToCreateRouteException with a cause of : >> Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to >> resolve endpoint: >> at >> org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:453) >> at >> org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:46) >> at >> org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:158) >> at >> org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:113) >> at >> org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:119) >> at >> org.apache.camel.model.FromDefinition.resolveEndpoint(FromDefinition.java:72) >> at >> org.apache.camel.impl.DefaultRouteContext.getEndpoint(DefaultRouteContext.java:88) >> at >> org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:680) >> at >> org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:140) >> ... 50 more >> >> My route appears similar to : : >> ftp://username@othern...@hosta.mydomain.com?password=password >> >> Running it with a "normal" username (non embedded @othername) works normally. >> >> (The ftp server on the remote end (hosta.domain.com) is requiring the >> @ for remote/network user ftp logins). >> I've tried removing the username from the initial URI definition and >> adding it as a parameter but get the same results. >> >> Any suggestions? >> >> -- >> ------------------------------------------- >> Craig Taylor >> ctalk...@ctalkobt.net >> > > > > -- > Claus Ibsen > ----------------- > FuseSource > Email: cib...@fusesource.com > Web: http://fusesource.com > Twitter: davsclaus, fusenews > Blog: http://davsclaus.blogspot.com/ > Author of Camel in Action: http://www.manning.com/ibsen/ > -- ------------------------------------------- Craig Taylor ctalk...@ctalkobt.net