]> granicus.if.org Git - curl/commit
It appears that there are FTP-servers that return size 0 for files
authorDaniel Stenberg <daniel@haxx.se>
Thu, 27 Feb 2003 12:50:54 +0000 (12:50 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 27 Feb 2003 12:50:54 +0000 (12:50 +0000)
commit52ebf506074c6ab2e3653563f589574f6227616d
treef6553589021575defdfe95a50e156e7938623dbc
parentd34a4b126e880cf14560ae5f950c094d4614cb2d
It appears that there are FTP-servers that return size 0 for files
when SIZE is used on the file while being in BINARY mode. To work
around that (stupid) behavior, we attempt to parse the RETR response
even if the SIZE returned size zero.

Debugging help from Salvatore Sorrentino on February 26, 2003.
lib/ftp.c