cURL / Mailing Lists / curl-library / Single Mail


Re: Help: getting the current url

From: Daniel Stenberg <>
Date: Thu, 10 Apr 2008 23:37:21 +0200 (CEST)

On Thu, 10 Apr 2008, Am Ro wrote:

> curl_easy_getinfo(urlHandle, CURLINFO_EFFECTIVE_URL, currentURL);


   curl_easy_getinfo(urlHandle, CURLINFO_EFFECTIVE_URL, &currentURL);

Allow me to quote the manual:


     Pass a pointer to a 'char *' to receive the last used effective URL.

  Commercial curl and libcurl Technical Support:
Received on 2008-04-10