expected_bytes ? expected_bytes - restval : 0,
restval, &rd_size, len, &con->dltime, flags);
expected_bytes ? expected_bytes - restval : 0,
restval, &rd_size, len, &con->dltime, flags);
tmrate = retr_rate (rd_size, con->dltime);
total_download_time += con->dltime;
tmrate = retr_rate (rd_size, con->dltime);
total_download_time += con->dltime;
about file size. */
cor_val = (con->rs == ST_UNIX || con->rs == ST_WINNT);
eq_size = cor_val ? (local_size == f->size) : true;
about file size. */
cor_val = (con->rs == ST_UNIX || con->rs == ST_WINNT);
eq_size = cor_val ? (local_size == f->size) : true;
-ftp_loop (struct url *u, int *dt, struct url *proxy)
+ftp_loop (struct url *u, int *dt, struct url *proxy, bool recursive, bool glob)
/* If the file name is empty, the user probably wants a directory
index. We'll provide one, properly HTML-ized. Unless
opt.htmlify is 0, of course. :-) */
/* If the file name is empty, the user probably wants a directory
index. We'll provide one, properly HTML-ized. Unless
opt.htmlify is 0, of course. :-) */
{
/* Treat the URL as a pattern if the file name part of the
URL path contains wildcards. (Don't check for u->file
{
/* Treat the URL as a pattern if the file name part of the
URL path contains wildcards. (Don't check for u->file
{
/* ftp_retrieve_glob is a catch-all function that gets called
if we need globbing, time-stamping or recursion. Its
{
/* ftp_retrieve_glob is a catch-all function that gets called
if we need globbing, time-stamping or recursion. Its