Mercurial > gftp.yaz
diff lib/misc.c @ 682:9b68dc473807
2005-2-4 Brian Masney <masneyb@gftp.org>
* lib/misc.c (gftp_get_transfer_action) - added the following FIXME
comments: add code to compare the file times and make a decision based
on that. Also if overwrite_default is enabled and the file sizes/dates
are the same, then skip the file
author | masneyb |
---|---|
date | Fri, 04 Feb 2005 14:52:26 +0000 |
parents | 07dc89f95076 |
children | d553d14a2565 |
line wrap: on
line diff
--- a/lib/misc.c Fri Jan 28 17:41:49 2005 +0000 +++ b/lib/misc.c Fri Feb 04 14:52:26 2005 +0000 @@ -1266,6 +1266,10 @@ gftp_lookup_request_option (request, "overwrite_default", &overwrite_default); + /* FIXME - add code to compare the file times and make a decision based + on that. Also if overwrite_default is enabled and the file sizes/dates are + the same, then skip the file */ + if (overwrite_default) fle->transfer_action = GFTP_TRANS_ACTION_OVERWRITE; else if (fle->startsize == fle->size)