Retreive a file from the remote system.
int FtpGet(const char *output, const char *path, char mode, netbuf *nControl);
- Name of a local file to receive the contents of the remote
file. If specified as NULL file data will be written to stdout.
- Name of remote file to be retrieved.
- Specifies the transfer mode as FTPLIB_ASCII or
- A handle returned by FtpConnect().
FtpGet() copies the contents of a remote file to a local
Returns 1 if successful or 0 on error.