curl-library
http download : error code 0 after download failure
Date: Mon, 04 Dec 2006 20:40:26 +0530
Hi,
Using libcurl I was trying to download http
But the path I am giving is a non existent path in the webserver
The verbose says
HTTP /1.1 404 error
But curl easy perform returns me error code 0
which means success, Why is this happening?
Plz help
The versions
libcurl/7.15.1 OpenSSL/0.9.8 zlib/1.1.3
The verbose output
* About to connect() to x.x.x..86 port 8080
* Trying x.x.x.86... * connected
* Connected to x.x.x.86 (x.x.x.86) port 8080
> GET /11.0.6568/winword/Firefox_Setup_1.5.0.5.exe HTTP/1.1
Host: x.x.x.86:8080
Accept: */*
< HTTP/1.1 404 /11.0.6568/winword/Firefox_Setup_1.5.0.5.exe
< Server: Apache-Coyote/1.1
< Content-Type: text/html;charset=utf-8
< Content-Length: 1084
< Date: Mon, 04 Dec 2006 15:04:11 GMT
Regards
Kuriakose
Received on 2006-12-04