curl-library
Re: Simultaneous FTP actions
From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Sat, 22 Jan 2011 13:27:35 -0600
Date: Sat, 22 Jan 2011 13:27:35 -0600
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
Received on 2011-01-22