cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problems with document root when retrieving files

From: Adam Kellas <Adam.Kellas_at_gmail.com>
Date: Mon, 19 Jul 2010 14:51:00 -0400

On 7/19/2010 12:56 PM, Randy Zauhar wrote:
> Just to be concrete, my apache server is configured with document root
> /Library/WebServer/Documents/ArtemisDiscoveryWeb. If I use a browser, I
> can readily pull a file by simply entering the URL in the browser
> window: https://www.artemisdiscovery.com/foo.txt,where foo.txt is in my
> document root.

As an intermediate step, try the curl command line tool instead of a
browser:

% curl https://www.artemisdiscovery.com/foo.txt

If that works, add the --libcurl flag to see recommended source code.

AK

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-07-19