How to use 'put URL "ftp://..." if username contains @

Dave Cragg dave.cragg at lacscentre.co.uk
Tue Mar 16 17:29:23 EDT 2010


On 16 Mar 2010, at 17:28, Matthias Rebbe wrote:

> Thanks to all who replied. In my case the username has to be
> username at domain.tld. A + or a % as a replacement are not accepted.
> 
> But urlencode and of course Andre´s suggestion to use %40 did the trick.
> 

Just to confirm. libUrl always urlDecodes any username and password in URLs. So it's always safe to urlEncode these before adding them to the URL, and advisable if they contain any "strange" characters.

Cheers
Dave


More information about the use-livecode mailing list