.\" This manual page was generated from the file FtpGet.html. .TH FtpGet 3 "06 November 1997" FTPlib .SH NAME FtpGet \- Retreive a file from the remote system. .SH "SYNOPSIS" .B "#include " .br .sp .BI "int FtpGet(const char *" output ", const char *" path ", " .RS .BI "char " mode ", netbuf *" nControl ");" .SH "PARAMETERS" .TP .B "output" Name of a local file to receive the contents of the remote file. .TP .B "path" Name of remote file to be retrieved. .TP .B "mode" Specifies the transfer mode as FTPLIB_ASCII or FTPLIB_IMAGE. .TP .B "nControl" A handle returned by FtpConnect(). .SH "DESCRIPTION" .LP FtpGet() copies the contents of a remote file to a local file. .SH "RETURN VALUE" .LP Returns 1 if successful or 0 on error.