Make restart work in active mode, too.

PR:		bin/18688
Submitted by:	Rudolf Cejka <cejkar@dcse.fee.vutbr.cz>
This commit is contained in:
des 2000-06-29 10:44:10 +00:00
parent 2d39aecea7
commit 6f93351a6d

View File

@ -455,6 +455,11 @@ _ftp_transfer(int cd, char *oper, char *file,
if (e != FTP_OK)
goto ouch;
/* seek to required offset */
if (offset)
if (_ftp_cmd(cd, "REST %lu", (u_long)offset) != FTP_FILE_OK)
goto sysouch;
/* make the server initiate the transfer */
if (verbose)
_fetch_info("initiating transfer");