cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problems with document root when retrieving files

From: Michael Wood <esiotrot_at_gmail.com>
Date: Mon, 19 Jul 2010 20:01:19 +0200

On 19 July 2010 19:34, Jeff Pohlmeyer <yetanothergeek_at_gmail.com> wrote:
> On  Jul 19, 2010 at 11:56 AM, Randy Zauhar wrote:
>
>> If I use a browser, I can readily pull a file
>> When using libcurl I receive a 404 message
>> why am I having to take this route?
>
> Have you tried:
>  curl_easy_setopt(curl_handle, CURLOPT_VERBOSE, 1);
> to see if it gives you any hints?

Also check your web server access.log and error.log after trying to
retrieve the file using a browser and libcurl.

-- 
Michael Wood <esiotrot_at_gmail.com>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-07-19