I need "file download" functionality with "pause/resume" feature for
my application. And for now Curl looks very promising for this.
So I wrote some small peace of code to see how it will work and have
some problems here.
The code is:
#include "stdafx.h"
#include <stdio.h>
#include <curl/curl.h>

The "http://site.company.com/test.exe" is real valid URL and IE or
Firefox ask to save file if I use this URL in these browsers.
Also I'm behind the firewall and access internet thought autoproxy.
When I run this compiled source on Windows I got:

--
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.
--Sergei