FTP Resume

Has anyone successfully implemented an ftp client which supports resuming

I am using the wininet api which makes calls in the following order:

InternetOpen
InternetConnect
FtpCommand (with REST command and offset)
FtpOpenFile
while loop
{
InternetReadFile
}

The problem is that if the connection is lost during the download, the REST command does not work. The ftp server does support the REST command

Any help would be great.

Thanks in advance.

DH


Answer this question

FTP Resume