On Thu, 12 Sep 2019, philippe marguinaud via curl-library wrote:
Well, you are right, there is probably a bug somewhere in libcurl, as with
-v the FTP server returns the file size :
Or a bug in the server that responds like this:
SIZE ICMSHFCSTINIT
< 213 File: ICMSHFCSTINIT, Size = 860160
My attempt to work around this kind of rubbish in the response can be found in
this PR I just filed:
https://github.com/curl/curl/pull/4339
--
/ daniel.haxx.se | Get the best commercial curl support there is - from me
| Private help, bug fixes, support, ports, new features
| https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html