The ftprestart() call restarts an aborted transaction from the point of interruption.
Syntax
#include <ftpapi.h>
int ftprestart(host, userid, passwd, acct, local, remote,
mode, transfertype,
rest)
char *host;
char *userid;
char *passwd;
char *acct;
char *local;
char *remote;
char *mode;
int transfertype;
int rest;
Parameters
host
To specify the port number (other than the well-know port) used by the FTP server, code the host name, followed by a blank, then the port number. For example, specify ftpget ("server1 1234",...)
Return Values
Value greater than zero indicates success, the value -1 indicates error.