Thanks for all your responses. I knew there'd be a Camel way :)

I'll give this a go.

James

From: Claus Ibsen-2 [via Camel] 
[mailto:ml-node+s465427n5778480...@n5.nabble.com]
Sent: 01 March 2016 15:07
To: BURN, James
Subject: Re: Ampersand in ftp password

Hi

See this link
http://camel.apache.org/how-do-i-configure-endpoints.html

about configuring raw values such as paswords

On Tue, Mar 1, 2016 at 12:43 PM, BURN, James <[hidden 
email]</user/SendEmail.jtp?type=node&node=5778480&i=0>> wrote:

> Hi
>
> Running ServiceMix 5.1.1, Camel 2.13.2
>
> I'm trying to connect to a client's ftp server. They have given me a password 
> with an ampersand in.
>
> <from uri="ftp://[hidden 
> email]</user/SendEmail.jtp?type=node&node=5778480&i=1>:21/dir/?password=pass&word&amp;delete=true"/>
>
> I tried encoding as %26 and as %2526 but to no avail.
>
> Any ideas?
>
> Thanks
>
> James
>
>
>
> Oxford University Press (UK) Disclaimer
>
> This message is confidential. You should not copy it or disclose its contents 
> to anyone. You may use and apply the information for the intended purpose 
> only. OUP does not accept legal responsibility for the contents of this 
> message. Any views or opinions presented are those of the author only and not 
> of OUP. If this email has come to you in error, please delete it, along with 
> any attachments. Please note that OUP may intercept incoming and outgoing 
> email communications.



--
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

________________________________
If you reply to this email, your message will be added to the discussion below:
http://camel.465427.n5.nabble.com/Ampersand-in-ftp-password-tp5778475p5778480.html
To start a new topic under Camel - Users, email 
ml-node+s465427n46542...@n5.nabble.com<mailto:ml-node+s465427n46542...@n5.nabble.com>
To unsubscribe from Camel - Users, click 
here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=SmFtZXMuQnVybkBvdXAuY29tfDQ2NTQyOHw5Njc4MTEwNDY=>.
NAML<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>

Oxford University Press (UK) Disclaimer

This message is confidential. You should not copy it or disclose its contents 
to anyone. You may use and apply the information for the intended purpose only. 
OUP does not accept legal responsibility for the contents of this message. Any 
views or opinions presented are those of the author only and not of OUP. If 
this email has come to you in error, please delete it, along with any 
attachments. Please note that OUP may intercept incoming and outgoing email 
communications.




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

Reply via email to