Daniel Stenberg <daniel <at> haxx.se> writes: > It gets the dir because you give it a URL that is a directory (the trailing > slash is implied when there's only a host name). > > Set CURLOPT_NOBODY to 1, and I'm not sure if you also need to make the URL
> identify a file, and it should stop. Thank you, setting CURLOPT_NOBODY to 1 worked.
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
