curl-library
Re: FTP of growing files?
Date: Sun, 1 Mar 2015 21:10:53 -0800
On Sun, Mar 1, 2015 at 11:31 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> If the server wanted to, it could keep the connection alive and send data
> as it arrives but I've never seen such an implementation - but even if it
> did, it would make the final size differ from the size the file claimed to
> be at the beginning which would cause libcurl to return an error due to that
>
Well, from the log messages that is not what I observe. The error message
appears to be originating from the server (and reported by libcurl) due the
the connection being closed rather than libcurl complaining about too many
bytes received. Maybe both things are happening?
Okay, a couple questions since I definitely need this functionality:
1) Long term, is this a feature that could eventually be added to libcurl?
2) Short term, do you have a gut feeling for how difficult it would be to
add this functionality? This is something I may have to do for our system,
but I have not yet looked at source code.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-03-02