| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Using curl lib for files download
From: Sergei Trofimov <sergei.trofimov_at_gmail.com>
Date: Tue, 30 Dec 2008 13:53:49 +0300
Hello Everyone,
I need "file download" functionality with "pause/resume" feature for
size_t my_write_func(void *ptr, size_t size, size_t nmemb, FILE *stream)
int _tmain(int argc, _TCHAR* argv[])
curl_global_init(CURL_GLOBAL_ALL);
The "http://site.company.com/test.exe" is real valid URL and IE or
* About to connect() to proxy autoproxy.company.com port 9090 (#0)
< HTTP/1.1 404 Not Found
-- In test.exe I got the following: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /test.exe was not found on this server.</p> <hr /> <address>Apache/2.0.46 (Red Hat) Server at registrationcenter.intel.com Port 80</address> </body></html> Why I got "file not found" error if URL is valid? Can some1 tell me what I did wrong? thanks P.S. I use latest 7.19.2 version of Curl lib which I downloaded from site. This version was build with ssl and zlib support. Use WinXP SP2 OS and VS2008 as dev tool. P.S.S. Sorry for such long mail and bad english. --SergeiReceived on 2008-12-30 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info