...
Files
ftp-c.h/ftp-c.c
Prototype
Code Block |
---|
CPU_BOOLEAN FTPc_RecvFile (FTPc_CONN *p_conn,
CPU_CHAR *p_remote_file_name,
CPU_CHAR *p_local_file_name,
FTPc_ERR *p_err); |
Arguments
p_conn
Pointer to FTPc Connection object.
...
Notes / Warnings
None.
Example Usage
Code Block |
---|
FTPc_CONN conn;
CPU_BOOLEAN result;
FTPc_ERR err;
result = FTPc_RecvFile(&conn,
"file_remote",
"\\file_local",
&err);
if (result != DEF_OK) {
printf("FTPc_RecvBuf() failed.\n\r");
} |