curl-library
Re: Simultaneous FTP actions
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 22 Jan 2011 22:02:31 +0100 (CET)
Date: Sat, 22 Jan 2011 22:02:31 +0100 (CET)
On Sat, 22 Jan 2011, pcworld wrote:
> For example, if a user wants to download a big file (so he presses a button)
> and while the file is downloading he wants to delete another file, he
> shouldn't wait until the big file is downloaded, so the second file should
> be deleted *while* the first file is downloading. I looked at FileZilla's
> debug output and it seems that there is no second FTP connection to the
> server needed.
Yes it needs a second connection. Lots of servers won't care about anything
you say on the control connection while the data connection is busy. libcurl
only does one thing at a time per FTP control connection so it can't do
anything on it until the transfer is completed.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-01-22