]> sjero.net Git - wget/blobdiff - src/ftp.c
--no-match-server-timestamps
[wget] / src / ftp.c
index 881c99be5139596ecd9d61fcd02ec16230432873..73cade4227bda82466704d46435e3955f62fdbfa 100644 (file)
--- a/src/ftp.c
+++ b/src/ftp.c
@@ -1849,7 +1849,8 @@ Already have correct symlink %s -> %s\n\n"),
          original.  :( */
       if (actual_target != NULL)
         {
-          if (!(f->type == FT_SYMLINK && !opt.retr_symlinks)
+          if (opt.matchservertimestamps
+              && !(f->type == FT_SYMLINK && !opt.retr_symlinks)
               && f->tstamp != -1
               && dlthis
               && file_exists_p (con->target))