curl-library
Re: How to configure the library to behave like the command line?
Date: Fri, 7 Jan 2011 17:10:52 +0000
On 7 January 2011 16:41, Michael Wood <esiotrot_at_gmail.com> wrote:
> On 7 January 2011 17:40, Matt Nelson <mattjnelso_at_gmail.com> wrote:
> > Hi,
> >
> > I'm on a Windows XP 64 bit machine running Visual Studio 2008 and I may
> be
> > doing something really stupid (probably), but I downloaded curl.exe
> (version
> > curl-7.21.0-win64-nossl) and running it with the following parameters
> from a
> > command line works fine:
> > curl --ntlm -u : http://sharepoint.domain.com/path/to/file.txt
>
> Do this and curl will generate a sample C program for you:
>
> curl --ntlm -u : http://sharepoint.domain.com/path/to/file.txt
> --libcurl example.c
>
> (i.e. just add a "--libcurl filename.c" on the end of the curl command.)
>
> But perhaps the versions of the curl library that you downloaded do
> not have NTLM support compiled in. You might want to download the
> source code and compile it yourself with whatever options you need
> enabled.
>
> --
> Michael Wood <esiotrot_at_gmail.com>
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>
Thanks for the response - I will definitely try adding the last parameter to
generate an example file.
I am slightly nervous of compiling from source - I really am not sure how to
go about it. Stupid, I know.
Thanks for your help, much appreciated.
Matt
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-01-07