cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: FTP of growing files?

From: Kurt Fankhauser <kurtbutfrank_at_gmail.com>
Date: Mon, 2 Mar 2015 00:20:04 -0800

@Daniel:
Thanks for your prompt response!

On Sun, Mar 1, 2015 at 11:16 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

>
> A much simpler solution is to wait until the upload is complete and then
> rename the file to the final one and only then will the client detect it
> and download... =)
>
Of course, that would be too easy! In my application the file is needed by
the client while it is being written on the server due to timing
constraints. We are talking very large files here as well, so waiting for
the complete file on the server side is not an option.

I guess I'll start looking at source code tomorrow...

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-03-02