Bugzilla – Attachment #66073: Patch to fix the restart of interrupted FTP transactions for bug #144410
-- src/ftp.c
++ src/ftp.c
len = 0;
err = getftp (u, &len, restval, con);
if (con->csock != -1)
if (con->csock == -1)
con->st &= ~DONE_CWD;
else
con->st |= DONE_CWD;
con->target = url_file_name (u);
locf = con->target;
}
/* len hasn't been touched by getftp */
len = restval;
continue;
case FTPRETRINT:
/* If the control connection was closed, the retrieval