On 7 January 2011 17:40, Matt Nelson <[email protected]> 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 <[email protected]>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to