On Sat, Jan 22, 2011 at 9:17 AM, pcworld wrote:

> I'm writing an (interactive) application with a GUI for a Linux OS.
> ...
> he shouldn't wait until the big file is downloaded, so the second
> file should be deleted *while* the first file is downloading.

You might be able to accomplish this by hooking libcurl's multi API directly
into your application's event loop. If you are using GTK, have a look at
./curl/docs/examples/ghiper.c for some ideas.

 - Jeff
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to