1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
+1 vote
2.5K views
by mike-r-7535 (13.8k points)
I need to connect to an FTP endpoint using a password that contains a special character like '?' or '@'.  However my password is getting encoded so it says I have a bad password.

1 Answer

+1 vote

For passwords that contain special characters that would be encoded in a URL string, they need to be wrapped with RAW(). This allows Apache Camel to recognize that this encoded field should not be decoded when using this parameter.

For example, if your actual password is se+re?t&23, you would want to use the following in the password field: RAW(se+re?t&23)

Please see http://camel.apache.org/how-do-i-configure-endpoints.html for more details.

by mike-r-7535 (13.8k points)
...