<br><br><div class="gmail_quote">Hi all,<br><br>i am unable to connect and get the html page of my blog account in <a href="http://blogger.com" target="_blank">blogger.com</a> website<br>Authentication problem with user name and password.<br>
I hope some body can help me on this issue<br>
here i am giving you the code snippet i used.<br><br><br><br>curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, FALSE);<br>&nbsp; <br><br>&nbsp;curl_easy_setopt(curl_handle, CURLOPT_PROXY, &quot;&lt;my proxy settings&gt;&quot;);<br>

&nbsp;<br>&nbsp;<br>&nbsp; curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT, 20);<br>&nbsp; <br>&nbsp; <br><br>&nbsp; curl_easy_setopt(curl_handle, CURLOPT_HTTPAUTH,&nbsp; CURLAUTH_ANY);<br><br>&nbsp; curl_easy_setopt(curl_handle, CURLOPT_URL, &quot;<a href="http://blogger.com" target="_blank">http://blogger.com</a>&quot;);<br>

&nbsp;&nbsp;<br>&nbsp;curl_easy_setopt (curl_handle, CURLOPT_FOLLOWLOCATION, 1);<br>&nbsp;curl_easy_setopt (curl_handle, CURLOPT_UNRESTRICTED_AUTH, 1);<br>&nbsp;curl_easy_setopt(curl_handle, CURLOPT_MAXREDIRS, 10);<br>&nbsp;curl_easy_setopt (curl_handle, CURLOPT_MAXCONNECTS, 20);<br>

&nbsp;curl_easy_setopt (curl_handle, CURLOPT_AUTOREFERER, 1);<br>&nbsp;curl_easy_setopt (curl_handle, CURLOPT_COOKIEFILE, cookie);<br>&nbsp;curl_easy_setopt(curl_handle, CURLOPT_HTTP_VERSION,CURL_HTTP_VERSION_NONE);<br>&nbsp;curl_easy_setopt(curl_handle, CURLOPT_HTTPGET,1);<br>

&nbsp;curl_easy_setopt(curl_handle, CURLOPT_HTTPHEADER,NULL);<br>&nbsp;curl_easy_setopt(curl_handle, CURLOPT_USERPWD, &quot;username:password&quot;);<br> <br>&nbsp; curl_easy_setopt(curl_handle, CURLOPT_FILE, my_file);<br><br>authentication is failing all the time.<br>

&nbsp;<br><br><br><br>
</div><br>