Do you think it is possible to check the size after download ?
If Yes, How ?
I try to find any command for this but unsuccessfull !
> To: curl-library_at_cool.haxx.se
> Subject: Re: Downloading a file
> From: marco.maggi-ipsu_at_poste.it
> Date: Fri, 27 Nov 2009 11:29:10 +0100
>
> "Paul Monteiro" wrote:
> > Case A
> > 2009-11-27 08:00.00 - Copying file AAAA (1.5GB) from server 1 to server 2
> > (the copy will finish at 08:05:00)
> > 2009-11-27 08:01.00 - Trying to download AAAA with curl (0.3GB) from
> > server 2
> > 2009-11-27 08:02.00 - Download complete
>
> So the problem is that cURL downloads a file to which data
> is still being appended, and the overall protocol (OS +
> server + client) does not allow to distinguish between the
> events "read all data available so far" and "read all data
> in the file".
>
> IMHO you should change the triggering even from "the file
> is present on the server" to "the file has been fully
> uploaded to the server". For example, after AAAA has been
> fully uploaded, create a further file AAAA.done (empty or
> symlink or whatever does not waste space) and use the event
> "AAAA.done is present on the server" as trigger to start
> downloading AAAA.
>
> HTH
> --
> Marco Maggi
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
_________________________________________________________________
Tchattez en direct en en vidéo avec vos amis !
http://www.windowslive.fr/messenger/
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-27