curl-users
Re: Wrong size of a file when downloading
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 23 Jun 2009 16:12:17 +0200 (CEST)
Date: Tue, 23 Jun 2009 16:12:17 +0200 (CEST)
On Tue, 23 Jun 2009, JAIME DURAN RODRIGUEZ wrote:
>> SIZE file.tar
> < 213 77,824 bytes.
> ...
> * Getting file with size: 77
Eeek. This is a non-compliant response. The server is stupid. The response is
supposed to be:
"213 77824"
No commas and no aditional "bytes". We could possibly let the curl parser just
ignore special characters in the middle of the number (the comma) but I'm not
at all convinced that is a very good idea in general.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2009-06-23