Bengt Rodehav wrote
> sftp://myUser@myServer//subdir?password=myPassword&stepwise=false
> 
> This worked fine in Camel 2.10.3. Note that I had to use double "/" to get
> it to work. Using Camel 2.11.0 I get the following error:

The first slash is treated as separator between the authority part of your
URI and the path element (/subdir). If you omit the "second" slash the SFTP
component (or Jsch) would try to change to the directory "subdir" relative
to the current working dir your SFTP session is started in. So using the
second slash is necessary in order to define an absolute URI which I assume
is what you want to do.

Regards, mdo.




--
View this message in context: 
http://camel.465427.n5.nabble.com/Problems-with-sftp-in-Camel-2-11-0-tp5731359p5731370.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to