X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fftp.c;h=73cade4227bda82466704d46435e3955f62fdbfa;hp=881c99be5139596ecd9d61fcd02ec16230432873;hb=1f08245076f245547b00b1a6cc2dff0198c1dfab;hpb=8798e255339f2bf958daa69380846f1c9946d8f7 diff --git a/src/ftp.c b/src/ftp.c index 881c99be..73cade42 100644 --- 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))