On Sun, 19 Jul 2020, Daniel Stenberg via curl-library wrote: > >On Sun, 19 Jul 2020, Morbius via curl-library wrote: > >> I would like to write a function to obtain the final URL from a site >> which >> redirects to another site using libcurl functions. I need some guidance >> on >> this. > >CURLINFO_EFFECTIVE_URL ? > >https://curl.haxx.se/libcurl/c/CURLINFO_EFFECTIVE_URL.html >
Works perfectly. Many thanks, Daniel. Problem solved.
------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html