Provided by: ftplib-dev_3.1-1-9build1_amd64
FtpGet - Retreive a file from the remote system.
#include <ftplib.h> int FtpGet(const char *output, const char *path, char mode, netbuf *nControl);
output Name of a local file to receive the contents of the remote file. path Name of remote file to be retrieved. mode Specifies the transfer mode as FTPLIB_ASCII or FTPLIB_IMAGE. nControl A handle returned by FtpConnect().
FtpGet() copies the contents of a remote file to a local file.
Returns 1 if successful or 0 on error.