cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_URL question

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 22 Feb 2006 19:52:20 +0100 (CET)

On Wed, 22 Feb 2006, Silex wrote:

> I'm currently using CURLOPT_URL like "ftp://user:pass@server.com". How am I
> supposed to pass an username containing an '@' sign ?

URL encode it. @ is then shown as %40.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-02-22