cURL / Mailing Lists / curl-users / Single Mail

curl-users

Bug in 7.13.1 with -R and ftp downloads

From: Rafael Garcia-Suarez <rgarciasuarez_at_gmail.com>
Date: Tue, 8 Mar 2005 15:18:36 +0100

When downloading a file from FTP with the -R option, curl stores the
Last-Modified-Since header in the downloaded file. This isn't fixed in
the latest daily snapshot.

Example :

$ curl -R -O ftp://ftp.free.fr/mirrors/ftp.mandrake-linux.com/Mandrakelinux/devel/cooker/i586//media/main/media_info/MD5SUM
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 98 0 98 0 0 153 0 --:--:-- --:--:-- --:--:-- 0

$ cat MD5SUM
Last-Modified: Tue, 08 Mar 2005 13:04:20 GMT
2a07791d25f90bf3b5192b2604be4ace hdlist.cz
caa2a1121de5cc79dd60eca8b516b289 synthesis.hdlist.cz
Received on 2005-03-08